border-style-inset-002.xht (1563B)
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: Table-Specific Border Style Behavior (collapsing border model/inset)</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-border-styles" /> 7 <meta name="assert" content="In the collapsing border model, the 'inset' border style looks the same as the 'ridge' border style." /> 8 <style type="text/css"> 9 #table1 10 { 11 border-collapse: separate; 12 } 13 #table2 14 { 15 border: 30px inset orange; 16 border-collapse: collapse; 17 } 18 td 19 { 20 height: 5em; 21 width: 5em; 22 } 23 #table1 td 24 { 25 border: 30px ridge orange; 26 } 27 #table2 td 28 { 29 border: 30px inset orange; 30 } 31 </style> 32 </head> 33 <body> 34 <p>Test passes if the two boxes below have identical borders that look as if they are popping out of the canvas.</p> 35 <table id="table1"> 36 <tr> 37 <td> </td> 38 </tr> 39 </table> 40 <div> </div> 41 <table id="table2"> 42 <tr> 43 <td> </td> 44 </tr> 45 </table> 46 </body> 47 </html>