+ Reply to Thread
Results 1 to 4 of 4

Thread: how to glue a DIV to the bottom?

  1. #1
    Moderator airnine is on a distinguished road
    Join Date
    Jan 2004
    Posts
    78

    Unhappy how to glue a DIV to the bottom?

    Hi guys,
    I'm busting my bees over this css, trying really hard to go css as far as possible regarding all the major browsers.

    The thing I want to do is make a "<"div">" stick to the bottom of my page regardless of the length. I can put it to the left, top, or right by putting left:0px; but when I put bottom:0px; it places the div in the bottom of the screen, but not the page

    any tips? if I find the answer first, I'll post it for you,

    Airnine
    -------------------------------
    Airnine is a developer @
    www.promomedium.com
    -------------------------------

  2. #2
    Full Member Interactive is on a distinguished road
    Join Date
    Jan 2004
    Location
    Sierra Vista, AZ, USA
    Posts
    74
    Hmm, so this doesn't work:
    Code:
    <DIV STYLE='position: absolute; bottom: 0px; left: 0px;'></DIV>

  3. #3
    Moderator airnine is on a distinguished road
    Join Date
    Jan 2004
    Posts
    78
    Nope,

    as I said, it puts your div in the bottom of the screen, but not the page

    any tips?

    Airnine
    -------------------------------
    Airnine is a developer @
    www.promomedium.com
    -------------------------------

  4. #4
    Full Member Syn is on a distinguished road
    Join Date
    Jan 2004
    Location
    Providence, RI
    Posts
    23
    Unfortunately, divs don't work that way. Divs can only extend as far as the amount of content that are in them. So you can only tile div's down... if that makes any sense. They are length dependant and that length is dependant on the screen size at the time as well.

    I've tried it, but with no luck as well.
    Personal
    -- Avalonstar: The Moon of Syn

    Professional
    Avalonstar-Intivex, [Coming Soon] | Starvex

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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