How to just make the middle of the page scroll

Discussion in 'CSS' started by forumposters, Mar 30, 2007.

  1. #1
    I have 3 columns with a header at the top. How can I just make the middle column scroll so that the left, right, and top margins are fixed?
     
    forumposters, Mar 30, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Make the element a fixed height, and set overflow to auto.

    cheers,

    gary
     
    kk5st, Mar 30, 2007 IP
  3. forumposters

    forumposters Peon

    Messages:
    270
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Will that work in most of the major browsers?
     
    forumposters, Apr 6, 2007 IP
  4. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yep it will
     
    bacanze, Apr 6, 2007 IP