View Full Version : Another CSS Question

07-20-2007, 08:54 PM
If you go to: http://www.tombraiders.net/katie/CEC2/sample.html

user: letme
pass: in

And scroll down to "Register for a Workshop" this works fine in IE, but in Firefox the orange box around it doesn't go to the second line of text. How can I make it do that?


07-20-2007, 09:00 PM
Fixed! :)

07-20-2007, 09:06 PM
Usually one should avoid setting a height on a div when it holds text. This almost always gives problems.

It is almost never necessary. Get rid of the red part:

.sbihead {
height: 14px;
width: 188px;
padding: 5px 0px 5px 19px;
text-transform: uppercase;

Why is IE6 expanding the div? The answer is because of the expanding box bug (http://www.positioniseverything.net/explorer/expandingboxbug.html).

07-20-2007, 09:17 PM
Fixed it! Thanks :)