summaryrefslogtreecommitdiff
path: root/works/relative-position-in-floats.html
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-10 16:26:11 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-10 16:26:11 +0000
commit1d8cd3a2f25000a41dec1f6dc1ad4f5ef4db4ba4 (patch)
tree6d0b04adf1867525e0abb24fe3e359a802e9d873 /works/relative-position-in-floats.html
parent6e54ad66e55011657d3de44fb20172b09bd9571e (diff)
downloadnetsurf-test-1d8cd3a2f25000a41dec1f6dc1ad4f5ef4db4ba4.tar.gz
netsurf-test-1d8cd3a2f25000a41dec1f6dc1ad4f5ef4db4ba4.tar.bz2
Add a bunch of test cases.
svn path=/trunk/netsurftest/; revision=8443
Diffstat (limited to 'works/relative-position-in-floats.html')
-rw-r--r--works/relative-position-in-floats.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/works/relative-position-in-floats.html b/works/relative-position-in-floats.html
new file mode 100644
index 0000000..383c4e6
--- /dev/null
+++ b/works/relative-position-in-floats.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<body>
+
+
+<div style="float: right; width: 33%;">
+ Right Col
+ <div style="position: relative; border:1px solid red;">
+ <div>
+ First
+ </div>
+ </div>
+ Right Col
+</div>
+
+
+<div style="float: right; width: 33%;">
+ Right Col
+ <div style="position: relative; border:1px solid red;">
+ Second
+ </div>
+ Right Col
+</div>
+
+
+
+</body></html>