SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,658
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    stretch a div to bottom

    I have a quick question, on
    http://ronisfineart.com/sculpture.shtml
    How can I make it so the footer div stretches to the bottom of the screen, so that stretching the above div (photo-container) occurs (and the prev, and next links would remain near the bottom of that div.
    Thanks...
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    It sounds like you are wanting a Sticky Footer layout.

    http://www.search-this.com/2009/10/0...ticky-subject/

    As far as the prev/next links being at the bottom of the photo div, you can absolute position them to the bottom of the main wrapping div and then lift them above the footer.

    An example is here with the div called "Bottom Textbox"


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
  •