I have a select box that shows the month and year (January 2003, February 2003, etc...). Is there any way to make the text in the select box right aligned so that all of the years are in line with each other?
There's not really a good way that I know of, especially since IE doesn't support text-align for selects. You can however specify in the style for the select "font-family: monospaced", then add some  's to the beginning of the list items so they line up with the longest item.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.