-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path混合布局.html
89 lines (77 loc) · 1.53 KB
/
混合布局.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>混合布局</title>
<style>
body {
margin: 0;
padding: 0;
font-size: 30px;
font-weight: bold
}
div {
text-align: center;
line-height: 50px
}
.top {
height: 100px;
background: #9CF
}
.head {
width: 960px;
margin: 0 auto;
height: 100px;
background: #F90
}
.main {
width: 960px;
margin: 0 auto;
border: 5px solid red;
}
.left {
width: 220px;
height: 600px;
background: #ccc;
float: left;
}
.right {
width: 740px;
height: 600px;
background: #FCC;
float:right;
}
.r_sub_left {
width: 540px;
height: 600px;
background: #9C3;
float:left;
}
.r_sub_right {
width: 200px;
height: 600px;
background: #9FC;
float: right;
}
.footer {
height: 50px;
background: #9F9;
clear:both;
}
</style>
</head>
<body>
<div class="top">
<div class="head">head</div>
</div>
<div class="main">清楚看到mian撑开
<div class="left">left rtry5wy6eu6</div>
<div class="right">
<div class="r_sub_left">sub_left
</div>
<div class="r_sub_right">sub_right</div>
</div>
</div>
<div class="footer">footer</div>
</body>
</html>