mattoman — 2010-03-15T07:44:07-04:00 — #1
Just come across this problem on IE6..
Take a look at the live version Here and scroll down till the bottom of content text.. On Firefox there is a 30px margin between container and the site-map footer
here however on ie6 this seems to have doubled..
Ive tried a few things but cant figure out what it could be?
Any solutions would be great.. I'm sure its something small.
picnictutorials — 2010-03-15T08:24:06-04:00 — #2
<div class="container" style="margin-bottom:30px;">
ralphm — 2010-03-15T08:30:32-04:00 — #3
Hmm, I'm not well versed in IE6 foibles, but would suggest the following:
- Unfloat the #container (maybe use overflow: hidden; instead if needed)
- Replace the bottom margin with padding.
But I suspect the float is causing trouble.
ryanreese — 2010-03-15T09:39:41-04:00 — #4
HI, the problem is that in IE you have a floated element (.container) and it has a bottom margin.
IE won't contain that margin to use it, so the only way to use it is a hard clearing element. However if you unfloat it (since it doesn't even need to be floated) and use normal containment techniques then it should work
mattoman — 2010-03-15T17:26:21-04:00 — #5
I was trying to make the bg work and the only way it seemed to do this was by floating the container left.. This client likes validated code so im not sure if there is any other way of doing this without using zoom :S
ralphm — 2010-03-15T18:07:21-04:00 — #6
There are various ways to make the container wrap the content. The easiest is overflow: hidden; Rather than use zoom, you could just define the width of the container (which is fine since you are using fixed width anyway). So I would use this:
background: url('../images/right-bg.gif') right repeat-y;
ryanreese — 2010-03-15T19:30:49-04:00 — #7
Using my way still got the image to show. You must have either changed the code since when I looked at it, or you didn't fully impliment my code.
I used overflow/zoom BECAUSE of hte image p roblem
What Ralph just posted is basically what my code is. Notice it isn't floated (which is whta I suggested) and hten overflow. The zoom I had just set haslayout but the width he gives above does the same thing .
We are just giving you the same advice now lol