On 7/24/05, ugo pozo [EMAIL PROTECTED] wrote:
My question is: why is it ignoring the floated div? We can see that the
content div starts in different heights in both browsers by the
background colors, but shouldn't the h2 tag respect the floated div
and appear in Firefox in the same place it
Thank you for your answer, Michael, it helped me a lot.
Although the solution you provided did not quite work (adding top margin to h2 strangely
pushed all divs down, both in FF and IE), I have figured out a solution myself based on
the mechanicals of float you explained. It's not very elegant
On 7/26/05, ugo pozo [EMAIL PROTECTED] wrote:
This is what worked for me: putting the extraDiv1 div *inside* the leftcontent
div and above any content it might contain. Then, I floated the h2 element
left
and also cleared it left. The page displays perfectly both in IE and FF now.
Actually,
Hello!
I'm sorry I can't provide an online demonstration of my problem. I have
written an sample xhtml/css document that exemplifies it perfectly,
though. It's below the signature.
Take the example file and view it both in IE and Firefox. It has a
container div in the background, which