border-conflict-resolution-001.xht (1188B)
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: Cell borders are set by a cell</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#border-conflict-resolution" /> 7 <meta name="assert" content="Borders on every edge (top, right, bottom, left) of a cell can be set by the cell's border properties, which can vary in width, style and color." /> 8 <style type="text/css"> 9 td 10 { 11 border-bottom: 8px dashed orange; 12 border-left: 16px double purple; 13 border-right: 12px dotted yellow; 14 border-top: 4px solid blue; 15 height: 6em; 16 width: 6em; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p> 22 <table> 23 <tr> 24 <td></td> 25 </tr> 26 </table> 27 </body> 28 </html>