SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Fixed table

  1. #1
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fixed table

    I have a table on a scrollable page. I want to have it at the bottom of the page even when im scrolling. How can i do this?
    Animated Chatrooms - www.121chatrooms.net

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,467
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    H,

    For IE7 and upwards you could position the table at the bottom using position:fixed;bottom:0;(ie6 doesn't support this).

    Of course that removes it from the flow so you would need to ensure that content that scrolls under the table can be seen. You can usually accomplish this by applying some padding bottom to the last element on the page that equals the height of the table.

    There's a rough example of a fixed footer here.

    There is also a similar question in a thread just below this one.


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
  •