| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> |
| 4 <title>CSS Test: Left floated elements and text wrapping</title> |
| 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
| 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" /
> |
| 7 <meta name="flags" content="" /> |
| 8 <meta name="assert" content="Block box is generated and floated to left
and content flows on right side starting at the top." /> |
| 9 <style type="text/css"> |
| 10 div |
| 11 { |
| 12 width: 2.25in; |
| 13 } |
| 14 #span1 |
| 15 { |
| 16 background-color: blue; |
| 17 float: left; |
| 18 height: 1in; |
| 19 width: 1in; |
| 20 } |
| 21 </style> |
| 22 </head> |
| 23 <body> |
| 24 <p>Test passes if the words "Filler Text" start above, flow down the rig
ht side of, and then wrap underneath the blue box.</p> |
| 25 <div> |
| 26 <span>Filler Text Filler Text Filler Text </span> |
| 27 <span id="span1"></span> |
| 28 <span>Filler Text Filler Text Filler Text Filler Text Filler Text Fi
ller Text Filler Text Filler Text Filler Text Filler Text Filler Text Filler Tex
t</span> |
| 29 </div> |
| 30 </body> |
| 31 </html> |
| OLD | NEW |