Thu, 2003-11-13 19:07
Okay. Need to nowrap the outer div so the checkbox and label are inline, allow the label to wrap in its inner position. How?
<div class=febox><span class=cb><input name="status" type="checkbox" value="aa"></span><span class=field>label</span></div>
CSS
.febox {width 100%;white-space nowrap;}
.cb {float left;width 15px;}
.field {width 120px;white-space normal;}
Tue, 2003-11-18 10:56
#1
CSS Wrapping
Hi travisbrown,
You could float the .field left as well that should alow the text to wrap.
You may want to use div's instead of spans for the containers, although spans will act like block elements when floated.
Hope that helps