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.

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

mercurial