tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

table-columns-example-001.xht (2038B)


      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 columns - Emulating the HTML table 'rules' attribute on columns</title>
      5         <link rel="author" title="W3C" href="http://www.w3c.org" />
      6         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#columns" />
      8         <meta name="assert" content="CSS can be used to emmulate the HTML 'rules = cols' attribute (example from section 17.3)." />
      9         <style type="text/css">
     10             .t1
     11             {
     12                 border-collapse: collapse;
     13                 border-style: hidden;
     14             }
     15             .col1
     16             {
     17                 border-style: none solid;
     18             }
     19             td
     20             {
     21                 height: 2em;
     22                 width: 2em;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <table class="t1">
     28             <col class="col1" />
     29             <col class="col1" />
     30             <col class="col1" />
     31             <tr>
     32                 <td></td>
     33                 <td></td>
     34                 <td></td>
     35             </tr>
     36             <tr>
     37                 <td></td>
     38                 <td></td>
     39                 <td></td>
     40             </tr>
     41             <tr>
     42                 <td></td>
     43                 <td></td>
     44                 <td></td>
     45             </tr>
     46         </table>
     47         <p>Test passes if the vertical lines above this text match the vertical lines below this text (differing only in boldness).</p>
     48         <table rules="cols">
     49             <tr>
     50                 <td></td>
     51                 <td></td>
     52                 <td></td>
     53             </tr>
     54             <tr>
     55                 <td></td>
     56                 <td></td>
     57                 <td></td>
     58             </tr>
     59             <tr>
     60                 <td></td>
     61                 <td></td>
     62                 <td></td>
     63             </tr>
     64         </table>
     65     </body>
     66 </html>