Fixed item too tall?

Discussion in 'CSS' started by Triexa, Nov 17, 2006.

  1. #1
    I have a div that is position:fixed.

    All is well, until I go to my testing computer and try 800x600. Lol.

    The bottom of it gets cut off because its too tall, but because its FIXED the scrolling does go down far enough.

    Does anyone have any ideas how to make the document accommodate the height of the fixed element?
     
    Triexa, Nov 17, 2006 IP
  2. Triexa

    Triexa Active Member

    Messages:
    580
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Is there any way to have like, min-top or something like that?

    What I want to accomplish is having it, say 300px from the top... but if I were to scroll way down, I don't want it 300px from top of window - i'd want it maybe 10px ...

    I don't think CSS can do this, but I can't find any javascript to do it - even though I know I've seen it. Anyone got a linky?
     
    Triexa, Nov 17, 2006 IP