4 replies [Last post]
cloudbank
Offline
newbie
Last seen: 13 years 48 weeks ago
Joined: 2007-04-07
Posts: 2
Points: 0

I've got a quick question maybe someone can answer off the top of their heads. My CSS isn't entirely validated yet but I'm reasonably sure that isn't the issue. I do plan on doing that.

In a containing div, a div is floated left. The floated div contains two divs inside it stacked on top of each other, first an image, then a UL. The floated div is closed. Then a second div starts, containing <p> and bordered <div>s to the left of the float.

In Firefox only, for any of these bordered divs on the left that start near the connection between the two divs in the float, the bottom border has extra padding added to it that makes it slightly longer than the floated div. The bordered div now has a bunch of whitespace inside it at the bottom.

What would you look at to get rid of this?

URL here:
http://www.arizonaprintgroup.com/update0307/artists/bucklaew.html

Thanks!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 8 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

In this instance .cleafix is

In this instance .cleafix is not a suitable technique to use as the clear property is clearing your right float, you will need to remove it and use overflow:hidden and ensure a hasLayout trigger is in place for IE.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

cloudbank
Offline
newbie
Last seen: 13 years 48 weeks ago
Joined: 2007-04-07
Posts: 2
Points: 0

I got it - thank you for the

I got it - thank you for the tips, even though my post was broken!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 6 years 8 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

"post was broken" how so?

:? "post was broken" how so?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 3 days 4 hours ago
Joined: 2004-06-30
Posts: 9669
Points: 805

Forum was parsing the < I

Forum was parsing the <

I fixed it Wink

Verschwindende wrote:
  • CSS doesn't make pies