#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    22
    Rep Power
    0

    CSS Style Sheets help


    Hello.. i'm trying to make a style sheet like this:

    #Menu {
    COLOR: #FFFFFF;
    BACKGROUND-COLOR: #7093DB;
    LEFT: 0px;
    TOP: 100px;
    WIDTH: 150px;
    }

    looks great and everything, but i like it to be from the TOP (100px) to absolute bottom!

    with this i mean, like margin bottom=0 i hupe you understand. this is just a menu, that will last as long the text in some other style sheet is..

    so, i added HEIGHT: 100%; in the #Menu, but this isn't right. Can someone please tell me, with what must i replace that 100% by HEIGHT??

    Thank you all
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    465
    Rep Power
    14
    You wan't a menu from the most bottom to the top (-100px?), right? You'll likely need to get your hands dirty with Javascript and set it during document loads.

    Check out http://www.javascripter.net/faq/browserw.htm to get window size. Didn't worked under IE5 for Mac (Mac NS 4.75 is ok probably all others too). It should work for any fourth generation browser anyway.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    22
    Rep Power
    0
    okay.. now, i'm confused! there must be some other way to do that... i'm 100%... or not???

IMN logo majestic logo threadwatch logo seochat tools logo