-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout_test.html
More file actions
49 lines (44 loc) · 941 Bytes
/
layout_test.html
File metadata and controls
49 lines (44 loc) · 941 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>
make a div fill remaining
horizontal space
</title>
<!-- Style to fill remaining
horizontal space -->
<style>
#main {
height: 800px;
font-size: 20px;
font-weight: bold;
color: white;
}
#left {
float: left;
width: 180px;
height: 100%;
background-color: green;
}
#right {
width: 100%;
height: 100%;
background-color: blue;
}
#piet {
background-color: grey;
border: 1px solid black;
}
</style>
</head>
<body style = "text-align:center;">
<div id = "main">
<div id="left">
DIV_1
</div>
<div id="right">
<div id="piet">content</div>
</div>
</div>
</body>
</html>