HTML SELECT with text-align: right; does not work in Internet Explorer
Posted on 2008-10-17
I have an HTML SELECT that needs to be right-aligned. When I use text-align: right; it works in Firefox, but not in IE.
I googled a bit and the options I had were:
1. Complete the left side with blank spaces;
2. Use dir="RTL";
3. Use a DHTML select.
I'm not allowed to use solution #2. Solution #1 is a bit messy. Can't use Solution #3 either, unless there's a way to make the DHTML select look exactly like the regular HTML select.
Are there any other ways I could do this?