border-spacing-051.xht (1608B)
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 using millimeters with a nominal value (with plus sign), +25.4mm</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 a nominal length (with plus sign) in millimeters." /> 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 div 17 { 18 background: black; 19 height: 1em; 20 left: 216px; 21 position: relative; 22 top: 25.4mm; 23 width: 25.4mm; 24 } 25 table 26 { 27 border-spacing: +25.4mm; 28 } 29 td 30 { 31 padding: 0; 32 } 33 </style> 34 </head> 35 <body> 36 <p>Test passes if the middle bar is as wide as the space between the first and last bars.</p> 37 <div></div> 38 <table> 39 <tr> 40 <td>XXXXXX</td> 41 <td>XXXXXX</td> 42 </tr> 43 </table> 44 </body> 45 </html>