Results 1 to 3 of 3

Thread: About CSS layout

  1. #1
    Join Date
    Dec 2007
    Location
    MY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help! DD CSS layout, footer won't move when content is longer

    I using this CSS Layout which i found here: http://www.dynamicdrive.com/style/la...d-fixed-fixed/

    i using the 3 column template(fixed) template in the CSS Layouts. When the "content" increasing, the footer still in the same position, it never move down, how to solve it? Only the sidebar increase(in height) the footer only will move down.

    this is my site
    http://modx.testingfigure.com/modx/

    thank you.
    Last edited by notfair; 12-10-2007 at 03:19 AM. Reason: edit

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by script
    #footer{
    clear: left;
    width: 100%;
    background: black;
    color: #FFF;
    text-align: center;
    padding: 4px 0;
    }
    change to

    Code:
    #footer{
    clear: both;
    width: 100%;
    background: black;
    color: #FFF;
    text-align: center;
    padding: 4px 0;
    }
    and that should allow it to push down when either content is longer than the other

  3. #3
    Join Date
    Dec 2007
    Location
    MY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i have change the "left" to "both:", but it still have the same problem ...
    the left column and the right column only will push footer, but only content can't move the footer, urgent, anyoneh have any solution, please...
    Last edited by notfair; 12-10-2007 at 03:06 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •