...

View Full Version : Another CSS Question



katie_lostsoul
07-20-2007, 07: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?

Thanks

katie_lostsoul
07-20-2007, 08:00 PM
Fixed! :)

koyama
07-20-2007, 08: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).

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum