| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <html> |
| <head> |
| <title>CSS Test: Table columns - HTML table 'rules' attribute on columns</title> |
| <meta name="assert" content="The first two tables are empty boxes."> |
| <meta name="assert" content="The second table should have just two horizontal lines - one for the top edge of the table, one for the bottom edge."> |
| <meta name="assert" content="The third table should have just two vertical lines - one for the left edge of the table, one for the right edge."> |
| <style type="text/css"> |
| td |
| { |
| height: 20px; |
| width: 20px; |
| } |
| </style> |
| </head> |
| <body> |
| <table rules="none" frame="box"> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| </table> |
| <br> |
| <table rules="none" frame="border"> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| </table> |
| <br> |
| <table rules="none" frame="hsides"> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| </table> |
| <br> |
| <table rules="none" frame="vsides"> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| </tr> |
| </table> |
| </body> |
| </html> |