Reputation: 3639
I'm trying to have many floated elements inside of a td not wrap. Here's a demo. When you resize the screen or zoom and the table becomes too big for the available size, it cuts the first column in two and sends the second half down. I'd like this behaviour never to happen. I'd prefer if the table maintained its integrity and forced the page to overflow instead (with an horizontal scrollbar).
I've tried a couple things, including white-space: nowrap;
which does not seem to work.
Upvotes: 0
Views: 60
Reputation: 505
How about to use th with attr. colspan?
<th class="header" colspan="2">Lundi</th>
Upvotes: 2