margin-collapse-134-ref.xht (1277B)
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 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 9 10 <style type="text/css"><![CDATA[ 11 table 12 { 13 border: black solid medium; 14 border-spacing: 0px; 15 display: inline-table; 16 margin: 1em 0em auto 1em; 17 } 18 19 td {height: 1em; width: 8em; padding: 0px;} 20 21 .lime { background-color: lime; } 22 .yellow { background-color: yellow; } 23 .green { background-color: green; } 24 ]]></style> 25 26 </head> 27 28 <body> 29 30 <p>The following three rectangles should be identical, with no red present.</p> 31 32 <div><table> 33 <tr> 34 <td class="lime"></td> 35 </tr> 36 <tr> 37 <td class="yellow"></td> 38 </tr> 39 <tr> 40 <td class="green"></td> 41 </tr> 42 </table><table> 43 <tr> 44 <td class="lime"></td> 45 </tr> 46 <tr> 47 <td class="yellow"></td> 48 </tr> 49 <tr> 50 <td class="green"></td> 51 </tr> 52 </table></div> 53 54 <table> 55 <tr> 56 <td class="lime"></td> 57 </tr> 58 <tr> 59 <td class="yellow"></td> 60 </tr> 61 <tr> 62 <td class="green"></td> 63 </tr> 64 </table> 65 66 </body> 67 </html>