Is it possible to determine a maximum and minimum size for a table?
My problem is the following, I have a table with a text inside it, and when I decrease the size of the browse window everything is getting squeezed inside it.
I touched that the problem only occurs if I use width: 100%; because if I use the width: 400px; the table does not flatten its contents, but it generates a scroll bar, and that's exactly what I want.
Good follows the simple table code. If anyone knows any way to help me, I'm very grateful.
.layout_geral_fixo {
position: fixed;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
background: #484848;
z-index: 6;
height: 37px;
}
<table class="layout_geral_fixo">
<!-- Menu topo -->
<tr>
<td>
asasdasdasdasdasdasdasdasdasdasdasdasdasdasd asdasdasdasdasdasdasd
</td>
</tr>
<!-- FIM Menu topo -->
</table>