tor-browser

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

column-horizontal-alignment-005.xht (1096B)


      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: Horizontal alignment in a column 'text-align' set to 'inherit' ('center')</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#column-alignment" />
      7         <meta name="assert" content="The 'text-align' property horizontally aligns cell content." />
      8         <style type="text/css">
      9             table
     10             {
     11                 text-align: center;
     12             }
     13             td
     14             {
     15                 border: 2px solid blue;
     16                 height: 120px;
     17                 text-align: inherit;
     18                 width: 120px;
     19             }
     20         </style>
     21     </head>
     22     <body>
     23         <p>Test passes if "Filler Text" below is horizontally centered within the box.</p>
     24         <table>
     25             <tr>
     26                 <td>Filler Text</td>
     27             </tr>
     28         </table>
     29     </body>
     30  </html>