Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE vs. Firefox - Overflow Problem

Status
Not open for further replies.

mrkmj

Programmer
Mar 27, 2007
1
DK
Hello.

I have a problem with overflow, or atlest i think that that is the problem..

I looks fine in IE

But in firefox it doesnt seem to expand my div, it just overflowes the bottom div...

Anyone that knows why there is that difference between does two browsers? And ofc what i can do about it..
 
Hard to say, because we can only see the picture. Plus, you have different font in FF than you have in IE. I would assume you're floating the text (though there seems to be no reason to do so, which will cause the text to flow out of the container, unless treated, in FF. You can fix that by putting a clearing element below the text, floating the container or giving the container [tt]overflow: auto;[/tt]. Another possiblity is erroneous handling of height in IE. It treats it as min-height, whereas in FF it is restrictive. If your container has a set height, text will overflow it in FF. In IE, text will simply expand the container. Show us more code if you want better solutions.
 
I think you pretty much covered anything that could be wrong Vragabond.

[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top