Zach Byrd wrote:
>My homepage has a wrapper that is 760px wide
>(centered). I have the
>margin set as follows:
>
> div#wrapper {
> margin: 0px auto;
>
>But, there is still a margin below the footer, even
>though I have set it to 'zero' pixels. Does anybody
>have any ideas about why it is not responding. In IE6,
>the margin follow suit with what is specified by CSS.
>I would appreciate any feedback!
>
>
Zach,
We can't tell without seeing your page. Can you please post the URL for
us to look at.
Here's my guess though -- it's margin collapsing. You have something
inside the footer, or possibly something even earlier in the source,
that has a bottom margin which is collapsing outside of the footer with
the zeroed body margin. To fix this, you can either get rid of the
bottom margin on the mystery element, or give its parent 1px of bottom
padding, which contains the margin.
Zoe
--
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/