Results 1 to 4 of 4

Thread: fixed positioning css2 scroll bar help

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default fixed positioning css2 scroll bar help

    i'm working on a 3 column website. i'm trying to figure out how to have one column scroll down (using the browser's scroll bar on the right), while keeping the other two columns and the header static at the top. i've seen this on sites like this, using div tags, but it's all over my head. can someone please break this down nice and simple for me?

  2. #2
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You're looking for the CSS property, position: fixed;

  3. #3
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    yes i know, but im a newbie and need some more help getting started. is there a tutorial to do this kind of thing anyone can point me to?

  4. #4
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry for being so vague! Um, I don't know any tutorials on that particular subject.

    Here are a few good layout sites:

    http://css.maxdesign.com.au/
    http://newguyinennis.com/samples/layouts/

    And of course:

    http://w3schools.com/css/


    If you add position: fixed; to a header or column, it will stay in the same spot regardless of scrolling. I think there are some problems with it in IE, but I can't remember; I never use the fixed value.

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
  •