column-box-alignment-rtl-4-ref.html (587B)
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: 600px; 15 box-sizing: content-box; 16 font: 16px/1 sans-serif; 17 } 18 19 td { 20 inline-size: 25%; 21 } 22 </style> 23 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). 24 <table cellspacing=0 cellpadding=0 style="direction:rtl; text-align:right;"> 25 <tr> 26 <td>1st column</td> 27 <td>2nd column</td> 28 <td> </td> 29 <td> </td> 30 </tr> 31 </table>