summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/column-box-alignment-rtl-ref.html
blob: a065ceeeba3b3da9611e56e9095e6edbeb53d5f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype html>
<style>
* {
    margin: 0 0;
    padding: 0 0;
}

/* cosmetics */
table {
    border: 1px solid;
    width: 100%;    
}

td {
    width: 25%;
}
</style>
The first column should be aligned with the right side of the block and the second column should be to its direct left.
<table cellspacing=0 cellpadding=0 style="direction:rtl; text-align:right;">
  <tr>
    <td>1st column</td>
    <td>2nd column</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>