View Full Version : styling select-tag i IE7

01-02-2007, 05:45 AM
I want all text for every option to be centered, this works fine in all browsers except for IE7

I've tried style="text-align: center;" on the <select> tag and also on evert <option> tag, but no success.

Is there a new way to make this possible in IE7, or doesn't the new <select> tag support this type of styles at all?

01-02-2007, 06:22 AM
I doubt it works in IE6. The styling of the select tag is very limited in IE. You will need to create your own select menu using javascript


01-02-2007, 08:39 AM
You could try using an external stylesheet with CSS.