summaryrefslogtreecommitdiff
path: root/legacy/works/clear-on-float.html
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/works/clear-on-float.html')
-rw-r--r--legacy/works/clear-on-float.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/legacy/works/clear-on-float.html b/legacy/works/clear-on-float.html
new file mode 100644
index 0000000..328bd20
--- /dev/null
+++ b/legacy/works/clear-on-float.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Clear test</title>
+<style type="text/css">
+div {
+ float: left;
+ clear: left;
+ width: 10em;
+ padding: 0.5em;
+ color: white; }
+</style>
+</head>
+<body>
+
+<div style="background: green">green</div>
+
+<div style="background: blue">blue</div>
+
+</body>
+</html>