SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru Zygoma's Avatar
    Join Date
    May 2006
    Location
    York, Uk
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    the problem with relative footers

    Ok.. whilst Ive very nicely had a fix given to this problem I'd just like to explore a bit further whether or not there could have been a better fix.

    Just to recap on this page -
    http://www.davidclick.com/york_weddi...photoshoot.htm
    i had a problem with the footer cropping over the actual content :-( I then added a css inline snippet - <p style="padding-bottom:40px">

    This fixed the problem but is there a way to make sure a footer never crops
    content without having to ad extra padding. I find the whole relative absolute positioning a bit confusing :-(

    Any insights welcome :-)
    I have had a perfectly wonderful
    evening, but this wasn't it-
    Julius "GROUCHO" Marx - 1890-1977
    http://www.davidclick.com

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,621
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, you have it backwards, the content is cropping over the footer. THat's because if there is enough content, then it will exceed the parents height that you set on ".column2"

    Remove the height (or set it as a min-height)
    Always looking for web design/development work.
    Willing to do it cheap to build portfolio!


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
  •