column-box-alignment-rtl-3-ref.html (559B)
1 <!doctype html> 2 <style> 3 * { 4 margin: 0 0; 5 padding: 0 0; 6 } 7 8 html { 9 writing-mode: vertical-rl; 10 } 11 12 table { 13 border: 1px solid; 14 inline-size: 100%; 15 font: 16px/1 sans-serif; 16 } 17 18 td { 19 inline-size: 25%; 20 } 21 </style> 22 The first column should be aligned with the inline-end side of the block and the second column should be to its direct left (towards inline-start side). 23 <table cellspacing=0 cellpadding=0 style="direction:rtl; text-align:right;"> 24 <tr> 25 <td>1st column</td> 26 <td>2nd column</td> 27 <td> </td> 28 <td> </td> 29 </tr> 30 </table>