-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout1.html
84 lines (81 loc) · 2.1 KB
/
layout1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="url-8">
<title>
Layout one
</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#container{
width: 60%;
margin: auto;
}
#Logo{
width: 100%;
min-height: 50px;
background-color: lightgray;
padding-left: 2%;
line-height: 50px;
margin-bottom: 5px;
}
#nav{
width: 100%;
min-height: 30px;
background-color: lightgray;
line-height: 30px;
text-align: center;
margin-bottom: 5px;
}
#main{
width: 100%;
}
#sidebar-div{
width:20%;
min-height: 400px;
background-color: lightgray;
float: left;
text-align: center;
line-height: 400px;
}
#bodyarea-div{
width: 75%;
min-height: 400px;
background-color: lightgrey;
float: right;
text-align: center;
line-height: 400px;
}
.clearfix::after{
content:"";
display: block;
clear:both;
}
</style>
</head>
<body>
<div id="container">
<div id="Logo">
Logo
</div>
<div id="nav">
Navigation
</div>
<div id="main" class="clearfix">
<div id="sidebar-div">
Sidebar
</div>
<div id="bodyarea-div">
Bodyarea
</div>
</div>
<div id="foot">
Footer
</div>
</div>
</body>
</html>