1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: Floating Elements
</title>
5 <style type=
"text/css">
7 .test { width: 15em; margin: 1em; padding: 0; background: white
; color: white
; }
8 .test img.left { float: left
; }
9 .test img.right { float: right
; width: 15em; height: 7em; }
10 .test span { font: 6em monospace
; }
12 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#floats" title=
"9.5 Floats">
15 <p>The word
"fail
" should not appear below, just a green block.</p>
17 <img alt="FAIL: You need image support for this test.
" src="support/
1x1-transparent.png
" class="left
">
18 <img alt="FAIL: You need image support for this test.
" src="support/
1x1-green.png
" class="right
">
21 <!-- this test actually failed in Mozilla once -->