Link to home
Start Free TrialLog in
Avatar of brunoguimaraes
brunoguimaraesFlag for Brazil

asked on

HTML SELECT with text-align: right; does not work in Internet Explorer

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?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial