IE6 HTML control wrapping -


Is there any way to stop IE in controlling the controls? For example, I have a label and a single selection box. The selection box width is dynamic (depending on the content) I want the label to always be on the left side of the selection box. The problem I am facing right now is that the Select box below the label is drop-down. I changed my code to & lt; Nobr & gt; as well as the CSS word-abode rules, but because this is not the text because the wrapping rules do not apply, I have found the only way to ensure that they are two-column To be placed in the table, but I do not like this solution. Is there any other way?

If an inline display ("display: inline;") in both label and input, If the line is breaking, then the parent parents containers are very narrow. He said, typical horizontal-label form layouts do not rely on this inline display, they take a more controlled approach using block-level, for example, the following HTML has been given the following HTML:

< Pre> & lt; Div class = "field" & gt; & Lt; Label = "fieldId" & gt; Field label & lt; / Label & gt; & Lt; Input id = "fieldId" name = "field" /> & Lt; / Div & gt;

You can set the status of the label with the following CSS:

  .field {overflow: hidden; / * Clear float *.} Label label {display: block; Swim left; Margin: 0x5px 0 0; }  

There is one on the special, but the above-mentioned original concept explains.


Comments