table-layer-transparency-011.xht (1424B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: The background between cell borders is the table background</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-layers" /> 7 <meta name="assert" content="The background between cell borders (using the separated borders model) is the background of the table element." /> 8 <style type="text/css"> 9 table 10 { 11 background: blue; 12 border-collapse: separate; 13 border-spacing: 5px; 14 } 15 td 16 { 17 background: white; 18 height: 2em; 19 width: 2em; 20 } 21 </style> 22 </head> 23 <body> 24 <p>Test passes if there is a three-by-three table below with blue borders.</p> 25 <table> 26 <tr> 27 <td></td> 28 <td></td> 29 <td></td> 30 </tr> 31 <tr> 32 <td></td> 33 <td></td> 34 <td></td> 35 </tr> 36 <tr> 37 <td></td> 38 <td></td> 39 <td></td> 40 </tr> 41 </table> 42 </body> 43 </html>