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

    Join Date
    Jan 2011
    Posts
    10
    Rep Power
    0

    Freezing columns in a table?


    I am attempting to create a simple HTML table, but I need the first two columns to freeze, and stay on screen if the user has to scroll to see the rest of the columns. Can this be done using two tables, and only scrolling on the second one? Or is there a way to do this w/ CSS?

    *I know this is confusing, so if more info is needed, just let me know.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    26
    Rep Power
    0
    Hi d2thalo

    There is a piece of JavaScript that will do what you are trying to do. The only problem is I can't remember what it is called.

    You could try to Google what you are trying to do, or maybe place a post in the JavaScript forum.

    Sorry i could not be any more help.

IMN logo majestic logo threadwatch logo seochat tools logo