floats-149-ref.xht (722B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Reftest Reference</title> 8 9 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <style type="text/css"><![CDATA[ 12 table 13 { 14 border-spacing: 0px; 15 table-layout: fixed; 16 width: 100%; 17 } 18 19 td 20 { 21 padding: 0px; 22 vertical-align: top; 23 width: 50%; 24 } 25 26 div {background-color: green;} 27 ]]></style> 28 29 </head> 30 31 <body> 32 33 <table> 34 <tr> 35 <td>There should be a green bar to the right: ⇨</td> 36 <td><div> </div></td> 37 </tr> 38 </table> 39 40 </body> 41 </html>