html - Setting the width of and in IE9 -


The problem I'm having is an option in the selection of a select box on top of the side of the page (hide the scroll bar). I am trying to limit the width of options using CSS. Please say that there is no better way ...

It works fine in IE8, but not in IE9. Firefox looks okay in Chrome also ignores it, but it ensures that the options do not exceed the page over (IE9).

I know that non-resizing of these is a bug that was fixed for IE9, but it is necessary to set a width limit (sometimes).

browser select elements individually, typically using the built-in routine Are more or less preserved. It is also unclear that you are using texts, or other very long alternatives, do you want truncation, line-wrapping, horizontal scrolling or what to do?

Problems are best left by using the problem. Short option texts should be visible names for those choices, not novels, if a very long name is actually a requirement, then select Instead use a set of radio buttons.

Comments