summaryrefslogtreecommitdiff
path: root/legacy/works/percentage-height-float-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/works/percentage-height-float-3.html')
-rw-r--r--legacy/works/percentage-height-float-3.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/legacy/works/percentage-height-float-3.html b/legacy/works/percentage-height-float-3.html
new file mode 100644
index 0000000..fc2c11f
--- /dev/null
+++ b/legacy/works/percentage-height-float-3.html
@@ -0,0 +1,18 @@
+<!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="overflow:hidden;background:#00f;">
+ <div style="height:20em;width:20em;background:#0f0;">
+ moose
+ <div style="height:100%;background:#f00;width:10em;float:right;">
+ moo
+ </div>
+ </div>
+</div>
+
+</body>
+</html>