-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout_03.html
More file actions
74 lines (63 loc) · 1.96 KB
/
layout_03.html
File metadata and controls
74 lines (63 loc) · 1.96 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
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Tablelayout</title>
<style>
/* Layout */
#wrapper {
width: 540px;
_position: relative;
}
#contentwrapper {
display: table;
border-spacing: 5px;
}
#header {
background-color: #ddd;
height: 80px;
}
#footer {
background-color: #ddd;
height: 60px;
}
#spalte1 {
background-color: lightblue;
width: 35%;
padding: 5px;
display: table-cell;
}
#spalte2 {
background-color: lightgreen;
width: 40%;
padding: 5px;
display: table-cell;
}
#spalte3 {
background-color: pink;
width: 25%;
padding: 5px;
display: table-cell;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="header">Header</div>
<div id="contentwrapper"> <!-- = TABLE -->
<!-- TR -->
<div id="spalte1">Spalte1 - dolores consectetur voluptate quisquam dicta sit eligendi vero commodi nostrum facere.</div>
<div id="spalte2">Spalte2 - voluptate quisquam dicta sit eligendi vero commodi nostrum facere.
Excepturi eum molestias veritatis sed!</div>
<div id="spalte3">Spalte3 vile mehr Text - Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit praesentium distinctio
sapiente saepe libero, dolores consectetur voluptate quisquam dicta sit eligendi vero commodi nostrum facere.
Excepturi eum molestias veritatis sed!</div>
<!-- /TR -->
<!-- /TABLE -->
</div>
<div id="footer">Footer</div>
</div>
</body>
</html>