| 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: Floated left and aligned with current line box</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 <link rel="match" href="floats-036-ref.xht" /> |
| 8 |
| 9 <meta name="flags" content="" /> |
| 10 <meta name="assert" content="A floated elements top edge will be aligned
with the top of a line box." /> |
| 11 <style type="text/css"> |
| 12 div |
| 13 { |
| 14 width: 5in; |
| 15 } |
| 16 #span1 |
| 17 { |
| 18 float: left; |
| 19 } |
| 20 </style> |
| 21 </head> |
| 22 <body> |
| 23 <p>Test passes if the "Filler Text" below is all on the same line.</p> |
| 24 <div> |
| 25 <span>Filler Text</span> |
| 26 <span id="span1">Filler Text</span> |
| 27 </div> |
| 28 </body> |
| 29 </html> |
| OLD | NEW |