One of my tables is scrollable horizontally while the other is not.
I'm looking to keep the header of the scrollable table fixed in place.
You can take a look at this jsfiddle link for reference.
The headers of the second table, which is enclosed in <div class="table2">
, need to be made fixed.
What is the simplest way to accomplish this?