IE6 HTML control wrapping

Posted by astonius on Stack Overflow See other posts from Stack Overflow or by astonius
Published on 2010-05-17T15:00:30Z Indexed on 2010/05/17 16:11 UTC
Read the original article Hit count: 310

Filed under:
|
|
|

Is there any way to prevent wrapping across controls in IE6? For example, I have a label and a single select box. The select box width is dynamic (depending on the content). I want the label to always be to the left of the select box. Right now the problem I am having is the select box drops below the label. I have tried using the <nobr> tag as well as CSS word-wrap rules, but because this isn't text the wrapping rules do not apply. The only way I have found for sure to make it work is to place them in a two-column table, but I do not like this solution. Is there any other way?

© Stack Overflow or respective owner

Related posts about ie6

Related posts about html