summaryrefslogtreecommitdiff
path: root/legacy/works/percentage-height.html
blob: 795d84d6dd559b07afafee515b0e9e3197c1644d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Percentage height</title>
</head>
<body>

<div style="height:20em;width:20em;background:#00f;">
	<div style="height:100%;background:#f00;width:10em;margin:0 auto;">
		moo
	</div>
</div>

</body>
</html>