-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout2.html
33 lines (32 loc) · 1.25 KB
/
layout2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Layout 2</title>
<style type="text/css">
*{font-size: 22px;font-weight: bold;}
#R1{background-color: gray;height: 50px;padding-top: 20px;width: 98%;padding-left:2% ;}
#R2,#R5{background-color: gray;height: 33px;width: 100%;padding: top 7px; text-align: center;margin-bottom: 10px;}
#R3{background-color: gray;height: 90px;width: 100%;padding-top: 60px;text-align: center;margin-bottom: 10px;}
#R4{height: 600px;width: 100%;margin-bottom: 10px;}
#R4C1{width: 32%;margin-right: 2%;}
#R4C2{width: 32%;margin-right: 2%;}
#R4C3{width: 32%;}
#R4 div{float: left; height: 320px;padding-top: 280px;text-align: center;background-color: gray;}
</style>
</head>
<body>
<div>
<div id="R1">Logo</div>
<div id="R2">Navigation</div>
<div id="R3">Header/Banner</div>
<div id="R4">
<div id="R4C1">Box 1</div>
<div id="R4C2">Box 2</div>
<div id="R4C3">Box 3</div>
</div>
<div id="R5">Footer</div>
</div>
</body>
</html>