-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout_04.html
More file actions
78 lines (67 loc) · 2.19 KB
/
layout_04.html
File metadata and controls
78 lines (67 loc) · 2.19 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
75
76
77
78
<!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>Flexbox</title>
<style>
/* Layout */
#wrapper {
width: 540px;
}
#contentwrapper {
display: flex;
flex-direction: row;
align-items:stretch; /* | flex-start | flex-end | stretch (default) | ... */
justify-content: flex-start; /* | flex-start | flex-end | baseline | center | ... */
_justify-items: center; /* nur ab Firefox 45 */
}
#header {
background-color: #ddd;
height: 80px;
}
#footer {
background-color: #ddd;
height: 60px;
}
#spalte1 {
background-color: lightblue;
width: 100px;
_height:190px;
padding: 5px;
_flex: 1;
}
#spalte2 {
background-color: lightgreen;
width: 100px;
height:200px;
padding: 5px;
_flex: 1;
}
#spalte3 {
background-color: pink;
width: 100px;
padding: 5px;
_flex: 1;
}
</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>