Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    100% Height - Expand to fill browser - but too big!

    Hello all -

    So, in order to get my design to fit the whole page I've used the HTML height:100% attribute and then have a wrapper for my page with 100% in order to have the design fill and flow, pushing the footer to the bottom no matter what the height. However, it is always a little too big, a little too long, as though the design is always pushing an extra length or two down. I've tried several fixes and changes, but I'm not sure what I'm missing. It's not the end of the world, but would be nice if it worked that much better

    You can see the issue here:

    http://ec2-184-72-204-197.compute-1.amazonaws.com/

    Thanks for any advice you can offer.

  • #2
    New Coder
    Join Date
    Dec 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So why don't just reduse min-height of wrapper div, for example to 80%?

  • #3
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    because then at some point, depending on how large your browser is, the footer will float above the bottom of the browser, instead of sticking to the bottom.

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello boonespooner,
    Look at this full-height demo, maybe it will help you.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Tags for this Thread

    Posting Permissions

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