1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: float
</title>
5 <script src=
"../resources/ahem.js"></script>
6 <style type=
"text/css">
7 div
{ border: solid black
; font: 15px/1 Ahem
; width: 6em; margin: 1em; color: green
; }
8 span
{ float: left
; font-size: 200%; width: 1.5em; }
9 .a { background: red url
(support
/css1test5525ce-1
.png
) no-repeat
; }
10 .b { background: red url
(support
/css1test5525ce-2
.png
) no-repeat
; }
11 .b span { background-color: green
; }
13 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#floats" title=
"9.5 Floats">
16 <p> There should be two boxes of green below.
</p>
18 <span>X
</span> x x xx x x
21 <span>X
</span> x x xx x x