summaryrefslogtreecommitdiff
path: root/legacy/works/relative-position-in-floats.html
blob: 383c4e65a710eae7de9bf1bd4846c4a9a35c598a (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>


<div style="float: right; width: 33%;">
	Right Col
	<div style="position: relative; border:1px solid red;">
		<div>
			First
		</div>
	</div>
	Right Col
</div>


<div style="float: right; width: 33%;">
	Right Col
	<div style="position: relative; border:1px solid red;">
		Second
	</div>
	Right Col
</div>



</body></html>