There is a way to create a right-to-left text-direction select
tag in HTML?
The following works in IE, but in Firefox only align the text and in Chrome nothing...
<select dir="rtl">
<select style="direction: rtl;">
There is a way to create a right-to-left text-direction select
tag in HTML?
The following works in IE, but in Firefox only align the text and in Chrome nothing...
<select dir="rtl">
<select style="direction: rtl;">
It works fine for me on Chrome 8.x dev. I'm sure it is a bug that's already fixed.
In Firefox I think you'll also need to set bidi-override
:
<select dir="rtl" style="direction: rtl; unicode-bidi: bidi-override;">
<option style="direction: rtl; unicode-bidi: bidi-override;">test</option>
</select>