SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,079
    Mentioned
    53 Post(s)
    Tagged
    0 Thread(s)

    Achieve 100% height...

    Need some ideas on how to achieve 100% height on a design. Kylewolfe.com is the source. Problem is that I have 2 divs sandwiching the div that I want to stretch to fill th page. So basically Im looking for 100% - the margin of the header and footer div I think?

  2. #2
    SitePoint Guru babyboy808's Avatar
    Join Date
    Nov 2004
    Location
    dublin
    Posts
    602
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are a few ways to go about it. Why don't you check the sticky threads at the top of this board?

  4. #4
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,079
    Mentioned
    53 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by babyboy808 View Post
    Not at all.

    Quote Originally Posted by Dan Schulz View Post
    There are a few ways to go about it. Why don't you check the sticky threads at the top of this board?
    There are methods listed however none that help with a footer that must be nested at the bottom until pushed down by content.

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, it does.

    http://www.sitepoint.com/forums/show...66&postcount=3

    You can see the basic principle in action here:
    http://www.dan-schulz.com/for-others.../template.html

    The folder is unlocked, so feel free to grab the code and play with it.
    http://www.dan-schulz.com/for-others/ethics/

  6. #6
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,079
    Mentioned
    53 Post(s)
    Tagged
    0 Thread(s)
    Yeah. I actually stumbled upon the same hack here: http://ryanfait.com/sticky-footer/ and adapted it. I had a blond moment, what can I say?

    Finished: http://kylewolfe.com/test.html

  7. #7
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,789
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Yeah. I actually stumbled upon the same hack here: http://ryanfait.com/sticky-footer/ and adapted it.
    My version was the first long before these others appeared

  8. #8
    Always A Novice bronze trophy
    K. Wolfe's Avatar
    Join Date
    Nov 2003
    Location
    Columbus, OH
    Posts
    2,079
    Mentioned
    53 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    My version was the first long before these others appeared
    I wouldnt expect any less from you Paul :-)


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
  •