How to make a table, which is wider than screen size, scrollable?

Posted by understack on Stack Overflow See other posts from Stack Overflow or by understack
Published on 2010-04-13T18:36:25Z Indexed on 2010/04/13 18:43 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

I've a table with 2 columns and each column is 800px wide. I want to show this table in 800x50 window. So there should be horizontal and vertical scrollbar to view complete table.

While I've found few related solutions (this and this) on SO, they only work if table width is smaller than screen size. In my case screen size is 1200px and total table width is 1600px.

How could I do this? i want to achieve something like this.

© Stack Overflow or respective owner

Related posts about html

Related posts about table