summaryrefslogtreecommitdiff
path: root/legacy/works/float-clear-first2.html
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/works/float-clear-first2.html')
-rwxr-xr-xlegacy/works/float-clear-first2.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/legacy/works/float-clear-first2.html b/legacy/works/float-clear-first2.html
new file mode 100755
index 0000000..ecf065d
--- /dev/null
+++ b/legacy/works/float-clear-first2.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+<style>
+div {width:4em; height:4em;}
+</style>
+</head>
+
+<body>
+
+
+<div style="background:red; float:left; clear:left;"></div>moose
+
+<p style="clear:both;">Above, there should be a red box with the word &quot;moose&quot; to the right of it.</p> \ No newline at end of file