-
Notifications
You must be signed in to change notification settings - Fork 478
/
004 两栏式.html
executable file
·66 lines (58 loc) · 1.2 KB
/
004 两栏式.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
#Header {
width: 360px;
height: 80px;
text-align: center;
line-height: 80px;
font-size: 15px;
color: #fffaf3;
font-weight: bold;
background-color: #f9c81e;
}
#Sidebar {
width: 120px;
float: left;
height: 280px;
text-align: center;
line-height: 280px;
font-size: 15px;
color: #ffffff;
font-weight: bold;
background-color: #cecece;
}
#body {
width: 240px;
height: 280px;
text-align: center;
line-height: 280px;
font-size: 15px;
color: #f9c81e;
font-weight: bold;
background-color: #fffaf3;
float: left;
}
#Footer {
width: 360px;
height: 80px;
text-align: center;
line-height: 80px;
font-size: 15px;
color: #fffaf3;
font-weight: bold;
background-color: #f9c81e;
}
</style>
</head>
<body>
<div id="Header">Header 栏位</div>
<div id="Sidebar">Sidebar</div>
<div id="Body">Body 栏位</div>
<div style='clear:both;'></div>
<div id="Footer">Footer 栏位</div>
</body>
</html>