Avatar of ellandrd
ellandrd
Flag for Ireland asked on

cant clear:both IE7

I have a div called #container with two inner divs floated left and right.  underneath #container I have another div called #footer which I want to clear:both as the right floated div in the #container has alot of content and overflows into the #footer.

however my code works in all browsers apart from IE7.  I cant show live example as its a page i'm working on in localhost.

i have set #footer to:

clear:both;
display:block

but no luck.

im using HTML5 doctype
CSS

Avatar of undefined
Last Comment
ellandrd

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
OrionsX

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ellandrd

ASKER
tried that already before posting the question.

i have set background color to green and i can see it like this screenshot below but doesnt fix problem.


Screen-shot-2010-02-22-at-16.50..png
ellandrd

ASKER
I have fixed it - i had a height set - took it out and it fixed my page...
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck