summaryrefslogtreecommitdiff
path: root/legacy/works/place_float_below3.html
blob: c1458a7696692b9f3cab1d48dcc72e3d5e2ef9d7 (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
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html><head><style type="text/css">
body {
	width: 989px; }

#right {
	float: left;
	width: 170px;
	height: 20px;
	background-color: blue; }

#left {
	float: left;
	width: 180px;
	height:600px;
	background:yellow; }

#center {
	float: left;
	width: 608px;
	height: 600px;
	background:pink; }

.top-ad-space {
	height: 20px;
	background:orange; }

.top-contentleft {
	height:100px;
	width: 42%;
	background:red;
	float: left; }

#R {
	background:green;
	float: right; }
</style>
<body>
  <div class="top-ad-space">
    ad space
    <div class="top-contentleft">
      Left float
    </div>
  </div>
  <div id="left">
    Left col
  </div>
  <div id="center">
    Center col
  </div>
  <div id="right">
    Right col
  </div>
  <div id="R">
    R
  </div>
</body>
</html>