border-spacing-004.xht (1313B)
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: Border-spacing set to zero using pixels with a minus sign, -0px</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#propdef-border-spacing" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#separated-borders" /> 8 <meta name="flags" content="ahem" /> 9 <meta name="assert" content="Border-spacing can be set to the minimum value, using zero with a minus sign, with pixels." /> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style type="text/css"> 12 div, table 13 { 14 font: 20px/1 Ahem; 15 } 16 table 17 { 18 border-spacing: -0px; 19 } 20 td 21 { 22 padding: 0; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if there is only one bar below this line.</p> 28 <table> 29 <tr> 30 <td>XXXXX</td> 31 <td>XXXXX</td> 32 </tr> 33 </table> 34 </body> 35 </html>