2009/1/5 Debbie Campbell <d...@redkitecreative.com>

> I've tried footerstickalt and a few other sticky footer methods...
>
> > http://www.redkitecreative.com/projects/endorphin/index_footer.php
>
> The footer stays at the bottom of the window until you decrease the size
> of the window, then a gap appears below the footer.
>
> I just need to have the footer stay at the bottom without riding up over
> the content in #main and #sidebar. Thanks for your help.
>

This is not Footer Stick Alt. In the article by Cameron Adams, see the
padding-bottom in the content area to make room for the footer that is
offset upwards.

You are offsetting #content downwards by positioning it relatively. Note CSS
2.1: 9.9.1: "Offsetting a box (B1) in this way has no effect on the box (B2)
that follows: B2 is given a position as if B1 were not offset and B2 is not
re-positioned after B1's offset is applied. This implies that relative
positioning may cause boxes to overlap."

Apply a red test background to #content. See the #content is sliding under
your footer. Again, this is not footer stick alt. Don't offset #content,
offset footer instead by its own height.

Ingo
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to