SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast Shaggy's Avatar
    Join Date
    Aug 2002
    Location
    no-va-sco-sha?
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS :: the footer issue

    i am encountering a problem similar to the one described in this article on webmasterbase as 'the footer issue'. they say the best (for short pages) is to pad the page with <p>nbsp;</p> to push the footer down past the other columns.

    does anyone know of a better solution? like if there is a way to set the top property of the footer to be always more than the bottom of the longest column? a job for javascript??
    Ladies and gentlemen, Shaggy Higgins
    "Almost there. Only a couple of more times over the horizon."

  2. #2
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Location
    Nova Scotia, Canada
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm also looking for a good solution for this "footer issue"

    I'm trying to lay out my site like this: a header (100% width), then 3 columns below it.. (20%/60%/20%) and then a footer (100%)

    Code:
    -----------------------
    | Header (logo & nav) |
    -----------------------
    |  |               |  |
    |  |               |  |
    |  |               |  |
    |  |               |  |
    |  |               |  |
    -----------------------
    | Footer              |
    -----------------------
    so far no luck...

    -Jeremy

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Location
    Nova Scotia, Canada
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    some things in this thread may help:

    http://www.sitepointforums.com/showt...threadid=70037

    I haven't had chance to try them yet.. but it's a possiblity

  4. #4
    SitePoint Enthusiast
    Join Date
    Oct 2000
    Location
    Northern California
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This seems to work for me concerning the footer problem.
    Even if you add to either content or menu boxes the footer rides below.


    This template is in testing phase,
    is validates XHTML trans and CSS2, but it is no way complete. I have not addressed N4 yet at all (don't know if I will).

    http://web.hypersurf.com/~sun/4VCDreams/test5.shtml

    css here:
    http://web.hypersurf.com/~sun/4VCDreams/test5css.html

    So yes, it can be done!

    Tested in
    W98 IE5/5.5/6
    N6.2.3/XP

    hth

    humanz
    "...Planet lurches to the right as ideologies engage/suddenly it's
    repression, moratorium on rights/what did they think the politics of
    panic would invite/the person on the street shrugs "security comes
    first"/but the trouble with normal is it always gets worse!" -- Bruce Cockburn


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
  •