1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: float
</title>
5 <style type=
"text/css">
6 div
{ background: url
(support
/swatch-red
.png
) bottom left no-repeat
; font-size: 10px; }
7 div p
{ float: left
; width: 100%; margin: 0; font-size: 2em; }
8 div img
{ float: none
; color: red
; vertical-align: top
; }
10 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visuren.html#floats" title=
"9.5 Floats">
11 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/colors.html#background-properties" title=
"14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
16 There should be a green block on the next line:
18 <img alt=
"FAIL: Image didn't display." src=
"support/swatch-green.png">