layout/reftests/columns/column-box-alignment-rtl-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!doctype html>
     2 <style>
     3 * {
     4     margin: 0 0;
     5     padding: 0 0;
     6 }
     8 /* cosmetics */
     9 table {
    10     border: 1px solid;
    11     width: 100%;    
    12 }
    14 td {
    15     width: 25%;
    16 }
    17 </style>
    18 The first column should be aligned with the right side of the block and the second column should be to its direct left.
    19 <table cellspacing=0 cellpadding=0 style="direction:rtl; text-align:right;">
    20   <tr>
    21     <td>1st column</td>
    22     <td>2nd column</td>
    23     <td>&nbsp;</td>
    24     <td>&nbsp;</td>
    25   </tr>
    26 </table>

mercurial