| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | |
| 2 <html><head> | |
| 3 <title>CSS Test: Test for wrapping around floats whose top is below the top of w
hat must wrap around them</title> | |
| 4 <link rel="author" title="L. David Baron" href="http://dbaron.org/"> | |
| 5 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/"> | |
| 6 <style type="text/css"> | |
| 7 | |
| 8 body { width: 400px; border: medium solid; text-align: left; } | |
| 9 div { float: left; clear: left; } | |
| 10 span { display: inline-block; vertical-align: top; width: 200px; height: 50px; b
ackground: aqua; } | |
| 11 | |
| 12 </style> | |
| 13 </head> | |
| 14 <body> | |
| 15 | |
| 16 <div style="width: 50px; height: 50px;"></div> | |
| 17 <div style="width: 100px; height: 100px;"></div> | |
| 18 <span></span> | |
| 19 <span></span> | |
| 20 | |
| 21 | |
| 22 | |
| 23 </body></html> | |
| OLD | NEW |