I have a table with a lot of rows, which causes the table-responsive bootstrap to have a scroll bar at the bottom of the screen. To view data that overflows to the sides, you must scroll to the bottom, move the scroll bar, and then scroll back again.
Take a look at this script, http://jsfiddle.net/Lq4uk/1/
Here is the HTML code,
<div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <th>#</th> <th>Header 1</th> ... (bunch of headers) </thead> <tbody> <tr> <th>1</th> <th>Some long text to make this overflow</th> ... (bunch of cells) </tr> ... (lots more rows) </tbody> </table>
How can I make the horizontal scrollbar always visible?
Or, to look at it differently, how can I use the maximum amount of free space on the screen for the vertical size of the table?
html css twitter-bootstrap
Duncan drennan
source share