margin-collapse-110-ref.xht (930B)
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 background-color: orange; 15 border: solid 3px; 16 border-spacing: 0px; 17 table-layout: fixed; 18 width: 256px; 19 } 20 21 td {padding: 50px 0px;} 22 23 div#yellow 24 { 25 border-top: yellow solid 50px; 26 margin-bottom: 50px; 27 } 28 29 div#lime {border-top: lime solid 50px;} 30 ]]></style> 31 32 </head> 33 34 <body> 35 36 <p>Test passes if there is a stack of 5 bands which are <strong>from top to bottom: orange, yellow, orange, lime, orange</strong>.</p> 37 38 <table> 39 <tr> 40 <td> 41 <div id="yellow"></div> 42 <div id="lime"></div> 43 </td> 44 </tr> 45 </table> 46 47 </body> 48 </html>