Search code examples
htmlcssformsright-to-left

starting table cells from right to left


I am writing a hebrew webpage and I need to create a form. I need the cells to start from right to left and not from left to right as the default, so when I press the tab button it will go to the left.

I tried the float:right CSS attribute in the table and tr td but nothing seems to help. When I finally managed changing the cell order all the cells were pressed together.

Can anyone specify the right attributes I need?


Solution

  • You probably want to apply the tabindex attribute rather than monkeying with cell order.