...

View Full Version : CSS working in IE but not Firefox



desolatordan
05-11-2008, 12:36 AM
http://razor13t.homelinux.net/hyperjump/index.html

If I specify a height in #news it will work fine, but then it won't scale to the content...


#news {
width: 604px;
float: left;
}

The #container is suppose to wrap a border around all of it, but doesn't for some reason in FireFox.

Here's what it's suppose to look like (as it does in IE):
http://img207.imageshack.us/img207/1460/83736628ih2.jpg


Any ideas or workaround ideas? I must be doing something wrong. Thanks.

oesxyl
05-11-2008, 02:10 AM
<div id="box">
....
<div id="news">
....
</div>
<div style="clear: both;"/>
</div>


CSS - Clearing floats (http://www.quirksmode.org/css/clearing.html)

regards

desolatordan
05-11-2008, 02:22 AM
Thanks! I used the "overflow: auto;" in my containers and it worked great.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum