blob: 3ce13f4e5b7f87e27f6e0a90e3c15f8df4f52ae2 (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style>
body > div { overflow: hidden }
.test { height: 20px; background: green }
#test2 { padding: 0 100px }
#test3 { padding: 0 100px; width: 250px }
#test4 { padding: 0 10% }
#test5 { padding: 0 10%; width: 250px }
body { width: 500px }
</style>
</head>
<body>
<div id="test1">
<div class="test"></div>
</div>
<div id="test2">
<div class="test"></div>
</div>
<div id="test3">
<div class="test"></div>
</div>
<div id="test4">
<div class="test"></div>
</div>
<div id="test5">
<div class="test"></div>
</div>
</body>
</html>
|