floats-014-ref.xht (1478B)
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: black solid 5px; 15 border-collapse: separate; 16 border-spacing: 0px; 17 padding: 9px; 18 } 19 20 img {vertical-align: top;} 21 22 td.left-column {padding-right: 10px;} 23 24 td.right-column {padding-left: 10px;} 25 26 td.top-row {padding-bottom: 10px;} 27 28 td.bottom-row {padding-top: 10px;} 29 ]]></style> 30 31 </head> 32 33 <body> 34 35 <p>Test passes if there is twice as much space between the blue squares as there is between the blue squares and the black container edge.</p> 36 37 <table> 38 39 <tr><td class="left-column top-row"><img src="support/swatch-blue.png" width="96" height="96" alt="Image download support must be enabled" /></td><td class="right-column top-row"><img src="support/swatch-blue.png" width="96" height="96" alt="Image download support must be enabled" /></td></tr> 40 41 <tr><td class="left-column bottom-row"><img src="support/swatch-blue.png" width="96" height="96" alt="Image download support must be enabled" /></td><td class="right-column bottom-row"><img src="support/swatch-blue.png" width="96" height="96" alt="Image download support must be enabled" /></td></tr> 42 43 </table> 44 45 </body> 46 </html>