Lorin Rivers wrote:
I've tried a few things suggested on the wiki, but none seem to work in my case.

I want a footer. I want to have variable-length content.

...

You are learning the first thing you need to know about absolutely positioned content. AP content consumes no space. It is "taken out of the flow." That is, other objects nearby don't know that AP content exists, where it begins, where it ends. Think of AP content as floating on another layer on top of everything else.

The easiest fix I can recomment is removing AP from #frametop and #framemain. Establish their position by setting margin-left wide enough to accommodate #navbar. Then #footer will fall underneath. The code below should do it, but I have not actually tested it.

div#frametop
{
        margin-left: 240px;
        height: 117px;
        width: 554px;
        background-image: url(/images/content-top.gif);
        background-repeat: no-repeat;
        /*border: thick solid green;*/
}

div#framemain
{
        margin-left: 240px;
        /*bottom: 10px;*/
        margin-bottom: -30px;
        padding-bottom: -30px;
        width: 554px;
        background-image: url(/images/framecenter.gif);
        background-repeat: repeat-y;
        /*padding: 0 60px 0 20px;*/
        /*border: thick solid pink;*/
}
--
Bob Easton
Accessibility Matters: http://access-matters.com

______________________________________________________________________
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/

Reply via email to