Re: [css-d] Image replaced h2 ignoring floated div in Firefox

2005-07-26 Thread Michael Landis
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

Re: [css-d] Image replaced h2 ignoring floated div in Firefox

2005-07-26 Thread ugo pozo
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

Re: [css-d] Image replaced h2 ignoring floated div in Firefox

2005-07-26 Thread Michael Landis
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,

[css-d] Image replaced h2 ignoring floated div in Firefox

2005-07-24 Thread ugo pozo
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