I am designing a webpage using twitter-bootstrap 3 and some tables do not match my page margins. They are overflowing. So I want to create a structure that works like an Excel spreadsheet.
The leftmost two columns (blue area) will be fixed, and the columns will remain as possible. Overflow columns will be displayed if the user scrolls the scroll bar of the table to the right. You can see the picture as I want it.
Putting a table in a div and a div rule overflow-x:scrollis not a solution for me. Because the first two columns must be visible all the time.
There is a solution here. I tried this. It only works when I reduce the window to a smaller width value.
source
share