Link to home
Start Free TrialLog in
Avatar of thebradnetwork
thebradnetworkFlag for United States of America

asked on

Compatibility problem with IE 7

I am working on a website that I have a spacing problem with the logo. The problem doesn't occur unless I am viewing it in IE7. All other version fo IE are fine. What can I do to fix this.

P.S. I do understand that upgrading would fix the problem but considering some users still use IE7 i need it to work in it as well.
Avatar of thebradnetwork
thebradnetwork
Flag of United States of America image

ASKER

The site link is a follows: http://www.opelikaschools.org/carver
It seams that heitht for some reason doesn't work
#header {
    height: 200px;
    position: relative;
    width: 940px;
}

http://www.positioniseverything.net/articles/ie7-dehacker.html
Avatar of Julian Hansen
I don't have access to IE7 so can't see the problem but there are a couple of problems visible off the bat

1. the #load style specifies a height of 121px when the logo height is actually 202px
2. The logo is enclosed in <p></p> tags - which have different margin values on different browsers

So remove the <p> tags - replace them with divs if you need a block container
Then fix your style to make the logo box fit the height of the logo
ASKER CERTIFIED SOLUTION
Avatar of s8web
s8web

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of s8web
s8web

Four words...I hate Internet Explorer. I put an if statment in there and it worked like a charm.
I say that no less than ten times a day. I'm glad you got it sorted.