Skip to content

Commit d3438ba

Browse files
Huiqiong GuHuiqiong Gu
authored andcommitted
fix indentation
1 parent f8a2e13 commit d3438ba

5 files changed

Lines changed: 179 additions & 184 deletions

File tree

Project 3/backward.png

-2.34 KB
Binary file not shown.

Project 3/forward.png

-2.34 KB
Binary file not shown.

Project 3/p1.css

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
#datepicker {
2-
margin: 10px;
3-
padding: 2px;
4-
position: absolute;
5-
width: 400px;
6-
background-color: #fff;
7-
border: 1px solid #ccc;
2+
margin: 10px;
3+
padding: 2px;
4+
position: absolute;
5+
width: 400px;
6+
background-color: #fff;
7+
border: 1px solid #ccc;
88
}
99
#header {
10-
position: relative;
11-
height: 50px;
12-
background-color: #cceeff;
13-
border: 1px solid black;
14-
border-radius: 4px;
10+
position: relative;
11+
height: 50px;
12+
background-color: #cceeff;
13+
border: 1px solid black;
14+
border-radius: 4px;
1515
}
1616
#title {
17-
float: left;
18-
padding-top: 10px;
19-
width: 290px;
20-
height: 40px;
21-
text-align: center;
22-
font-weight: bold;
23-
font-size: 1.5em;
17+
float: left;
18+
padding-top: 10px;
19+
width: 290px;
20+
height: 40px;
21+
text-align: center;
22+
font-weight: bold;
23+
font-size: 1.5em;
2424
}
2525
#pre_button {
26-
float:left;
27-
padding-top: 15px;
28-
padding-left: 15px;
29-
height: 40px;
30-
width: 40px;
31-
font-weight: bold;
26+
float:left;
27+
padding-top: 15px;
28+
padding-left: 15px;
29+
height: 40px;
30+
width: 40px;
31+
font-weight: bold;
3232
}
3333
#next_button {
34-
position: absolute;
35-
right: 0px;
36-
float: right;
37-
padding-top: 15px;
38-
height: 40px;
39-
width: 40px;
40-
font-weight: bold;
34+
position: absolute;
35+
right: 0px;
36+
float: right;
37+
padding-top: 15px;
38+
height: 40px;
39+
width: 40px;
40+
font-weight: bold;
4141
}
4242
table {
43-
width: 400px;
44-
text-align: center;
45-
font-size: 1.2em;
43+
width: 400px;
44+
text-align: center;
45+
font-size: 1.2em;
4646
}
4747
th, td {
48-
width: 25px;
49-
height: 40px;
50-
padding: 0;
48+
width: 25px;
49+
height: 40px;
50+
padding: 0;
5151
}
5252
td {
53-
background-color: #cceeff;
54-
border: 1px solid #999;
53+
background-color: #cceeff;
54+
border: 1px solid #999;
5555
}
5656
.today {
57-
background-color: #ff4da6;
58-
border: 1px solid #999;
57+
background-color: #ff4da6;
58+
border: 1px solid #999;
5959
}
6060
.current {
61-
background-color: #b3d9ff;
62-
border: 1px solid black;
61+
background-color: #b3d9ff;
62+
border: 1px solid black;
6363
}

Project 3/p1.html

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,26 @@
88
</head>
99
<body>
1010
<div id="datepicker">
11-
<div id="header">
12-
<!--
13-
<div id="pre_button"><img class="buttonImage" src="backward.png"/></div>
14-
<div id="title"></div>
15-
<div id="next_button"><img class="buttonImage" src="forward.png"/></div>
16-
-->
17-
<div id="pre_button"><<</div>
18-
<div id="title"></div>
19-
<div id="next_button">>></div>
20-
</div>
21-
<table>
22-
<thead>
23-
<tr>
24-
<th><abbr title="Sunday">Sun</abbr></th>
25-
<th><abbr title="Monday">Mon</abbr></th>
26-
<th><abbr title="Tuesday">Tue</abbr></th>
27-
<th><abbr title="Wednesday">Wed</abbr></th>
28-
<th><abbr title="Thursday">Thu</abbr></th>
29-
<th><abbr title="Friday">Fri</abbr></th>
30-
<th><abbr title="Saturday">Sat</abbr></th>
31-
</tr>
32-
</thead>
33-
<tbody id="body">
34-
</tbody>
35-
</table>
11+
<div id="header">
12+
<div id="pre_button"><<</div>
13+
<div id="title"></div>
14+
<div id="next_button">>></div>
15+
</div>
16+
<table>
17+
<thead>
18+
<tr>
19+
<th><abbr title="Sunday">Sun</abbr></th>
20+
<th><abbr title="Monday">Mon</abbr></th>
21+
<th><abbr title="Tuesday">Tue</abbr></th>
22+
<th><abbr title="Wednesday">Wed</abbr></th>
23+
<th><abbr title="Thursday">Thu</abbr></th>
24+
<th><abbr title="Friday">Fri</abbr></th>
25+
<th><abbr title="Saturday">Sat</abbr></th>
26+
</tr>
27+
</thead>
28+
<tbody id="body">
29+
</tbody>
30+
</table>
3631
</div>
3732
</body>
3833
</html>

0 commit comments

Comments
 (0)