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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Vertical align not working in footer :<

    Hello

    I cannot figure out why the vertical align is not working in my footer - I basically need a the links2 div aligned to the bottom of the footer div.

    I've tried setting a top margin but for some reason the margin is also applied to the containing footer div and pushes it away from the content above.

    Setting padding-top within the footer div to try and push the links2 div down just creates space at the bottom of the page.

    http://lemongrassmedia.co.uk/backup/index.html

    I'm confused and any help appreciated!

    Thank you,

    Jonny.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,749
    Thanks
    22
    Thanked 1,838 Times in 1,822 Posts
    Hello kopsy,
    You are experiencing Uncollapsing Margins.
    This should fix it:
    Code:
    #footer {
    	width: 950px;
    	margin: auto;
    	height: 347px;
    overflow: auto;
    	background: url(http://lemongrassmedia.co.uk/backup/core/blue_images/baser.jpg);
    }
    #links2{
    	height: 200px;
    	width: 300px;
    margin: 147px 0 0 0;
    	background: #000033;
    }
    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

  • #3
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    great thank you ) I'm off to find out what the hell uncollapsing margins are!

    J


  •  

    Posting Permissions

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