forked from yandex-shri-ekb/4-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4_float.html
More file actions
70 lines (65 loc) · 1.02 KB
/
Copy path4_float.html
File metadata and controls
70 lines (65 loc) · 1.02 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Float</title>
<meta charset="utf-8">
<style>
html,
body
{
margin: 0;
width: 100%;
height: 100%;
}
.menu
{
width: 100%;
display: inline-block;
vertical-align: top;
width: 100%;
text-align: left;
width: 600px;
}
.cube
{
display: inline-block;
width: 40px;
height: 40px;
background: #366;
float: left;
}
.menu a
{
display: inline-block;
padding: 10px;
font: normal 16px Courier;
}
.content
{
background: #CFF;
width: 650px;
margin: 0 auto;
min-height: 100%;
}
h1
{
font: bold 24px Courier;
margin: 0;
padding: 20px 0;
text-align: center;
}
</style>
</head>
<body>
<div class="cube"></div>
<div class="content">
<div class="menu">
<a href="#">Главная</a>
<a href="#">Не такая уж и главная</a>
</div>
<div class="text">
<h1>Двигайся, давай</h1>
</div>
</div>
</body>
</html>