stevegos — 2010-04-05T16:20:52-04:00 — #1
I have an odd problem with what appears to be a straight forward layout.
The problem is only evident in IE7.
See the attached image. A normal left hand sidebar (float left) which contains the navigation, and the right hand content area.
For some reason the right hand content area start at the bottom of the navigation elements inside the sidebar.
The project is confidential so its difficult to post a demo url. Have made a graphic of the problem.
All help greatly appreciated.
ralphm — 2010-04-05T18:51:23-04:00 — #2
Do you have clear:right (or some other form of clear) on any of those nav items?
You could post some css and html without compromising your site.
ryanreese — 2010-04-06T00:04:46-04:00 — #3
Hi, there are so many possibilities of what could be going on. All of which, however, as Ralph pointed out, would be entire guesses without full HTML and CSS :).
Although a link would be more preferable as it would allow easy testing.
stevegos — 2010-04-13T04:28:57-04:00 — #4
Thanks Guys. I have permssion to post the site now...
You can see the problem here: http://188.8.131.52/go-moco.co.uk/index-apr10-18-DIV.htm
The css is here http://184.108.40.206/go-moco.co.uk/styles/common-new.css
In all browsers accept IE7 and below display the site fine.
The maincontent area is being shifted over to the right as if the padding has been applied twice.
I inherited this site from another designer, so it not my original code.
All help greatfully received.
ralphm — 2010-04-13T05:51:04-04:00 — #5
I don't have IE available right now, but I'm assuming the problem is with the quadR div? I couldn't see any "maincontent".
I would recommend floating quadR and removing the left margin. That's always just asking for trouble in IE. I can't remember how people get that to work (perhaps by adding display: inline?) but I just don't use that for layout. I don't see the point, when you can just float both divs.
stevegos — 2010-04-13T05:54:15-04:00 — #6
BTW, if anyone doesn't have IE7, you can see the same problem in IE8 in compatibility mode.
stevegos — 2010-04-13T06:02:13-04:00 — #7
A bit more info may help...
div rightcolumnFront has a left padding to push it to the right of the left column.
inside this is div QUADcontainer.
inside this is quadL which is float left or quadR.
it appears it is the QUADcontainer that is being pushed over to the right by a similar margin to the rightcolumnFront div. But there is no padding set on this.
ralphm — 2010-04-13T10:00:21-04:00 — #8
padding: 0px 0px 0px <font size='"7"'>240px</font>;