SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2007
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help with floated layout

    hi, i've set up a page which has a lot of floated elements and i'm struggling a little to get the correct behaviour. For example, my footer should always be pushed down to the bottom of the page, always below the main content of the page. Unfortunately this isn't working at present. Also, I've found myself having to use some negative margins to line up elements correctly, e.g #left_column {margin-top: -20px} - I don't think i should have to do this if i was floating the elements correctly.

    If anyone could have a look at this for me that would be greatly appreciated! My test page is at edited
    Last edited by nicky77; Jul 29, 2008 at 01:00.

  2. #2
    SitePoint Zealot
    Join Date
    Feb 2007
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Remove the height property from the wrapper DIV.

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2007
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah I don't know what that was doing there! Thanks for that jonpenny


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
  •