I have a very wide table
inside a div
, which in turn is inside a fieldset
which is inside a form
which is inside an article
.
This wide table results in the div
and the fieldset
to increase their width. The form
does not increase the width.
I want to show a horizontal scrollbar for the div
. But this doesn't work, because it has the same width as the table
.
How can I prevent the div
from increasing its width?
Please know that the height of the table
is dynamic and changes based on user interactions.
I would like to achieve this without JS.
Fiddle demonstrating my problem.
If you think this is a duplicate to an existing question, please test the solution first with my specific setup, thanks. I tested quite a few and none seemed to work in my scenario.