I have a table, where it fits the content it has. That way, I added a width: 100%
. It is the size of the window.
I gave an overflow-x: auto, so it should create a scroll, when smaller. But that's not what happens, it just takes the scroll, if I add display:block
, but this way it loses width: 100%
.
How do I have scroll, but keep 100% of the width, with white-space: nowrap;
.
Ex : link