in my form http://www.scasp.com/testing/reviewform.php the fielset near the top with 2 column is the one im concerned about.
I said in my css that labels are to have a with of 150 each, why is it not showing?
| SitePoint Sponsor |





in my form http://www.scasp.com/testing/reviewform.php the fielset near the top with 2 column is the one im concerned about.
I said in my css that labels are to have a with of 150 each, why is it not showing?
"Oh, and Jenkins--apparently your mother died this morning."





** might as well paste your label code to save us time from digging through
forgot where i was haha





here
ThanksHTML Code:label { color: #999; width: 150px; border-color: RED; text-align: left; font: 10px bold Tahoma, Verdana, Arial, Sans-serif;}
"Oh, and Jenkins--apparently your mother died this morning."


Labels are inline elements generating inline boxes. Dimensions are ignored for inline boxes.
You need to make the labels generate block boxes, e.g., by floating the labels.
Birnam wood is come to Dunsinane
Or make them display: block.Originally Posted by AutisticCuckoo


That will move the subsequent form field to the next line, which I assume is not the desired behaviour for someone who wants to set a width on the label.Originally Posted by Tyssen
display:inline-block might be useful, but browser support for that is iffy.
Birnam wood is come to Dunsinane





You were right, I just floated them and they worked gread. take a look (please) and let me know if you approve?
Thanks
"Oh, and Jenkins--apparently your mother died this morning."
Bookmarks