summaryrefslogtreecommitdiff
path: root/legacy/works/float-clear-first.html
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/works/float-clear-first.html')
-rwxr-xr-xlegacy/works/float-clear-first.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/legacy/works/float-clear-first.html b/legacy/works/float-clear-first.html
new file mode 100755
index 0000000..3eefc98
--- /dev/null
+++ b/legacy/works/float-clear-first.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<style>
+div {width:4em; height:4em;}
+</style>
+</head>
+
+<body>
+
+
+<div style="background:red; float:left; clear:left;"></div>
+<div style="background:green; float:left;"></div>
+<div style="background:blue; float:left;"></div>
+
+<p style="clear:both;">Should be three equal sized boxes above. Left to right: red, green, blue.</p> \ No newline at end of file