In this image you can see that all the columns fit well but ...
When the scrollbar appears, the columns in the table below do not match the ones above.
If anyone knows how to avoid this, I would appreciate it very much.
HTML
<TABLE border="1">
<TR>
<TH align="center" rowspan="2">Columna 1</TH>
<TH align="center" colspan="2">Columna 2,3</TH>
<TH align="center" colspan="2">Columna 4,5</TH>
<TH align="center" >Columna 6</TH>
<TH align="center" >Columna 7</TH>
<TH align="center" >Columna 8</TH>
</TR>
<TR>
<TH >Columna 2</TH>
<TH >Columna 3</TH>
<TH colspan="2">Columna 4,5</TH>
<TH >Columna 6</TH>
<TH >Columna 7</TH>
<TH >Columna 8</TH>
</TR>
</TABLE>
<div class="contiene_tabla">
<TABLE border="1">
<TBODY>
<TR>
<TD align="center">Columna 1</TD>
<TD align="center">Columna 2</TD>
<TD align="center">Columna 3</TD>
<TD align="center">Columna 4</TD>
<TD align="center">Columna 5</TD>
<TD align="center">Columna 6</TD>
<TD align="center">Columna 7</TD>
<TD align="center">Columna 8</TD>
</TR>
</TBODY>
</TABLE>
</div>
CSS
div.contiene_tabla {
height: 208px;
margin-right: 100px;
overflow: auto;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
}
table {
table-layout:fixed;
width: 98%;
}
th, td {
padding: 4px;
white-space: pre;
/* CSS 2.0 */
white-space: pre-wrap;
/* CSS 2.1 */
white-space: pre-line;
/* CSS 3.0 */
white-space: -pre-wrap;
/* Opera 4-6 */
white-space: -o-pre-wrap;
/* Opera 7 */
white-space: -moz-pre-wrap;
/* Mozilla */
white-space: -hp-pre-wrap;
/* HP */
word-wrap: break-word;
/* IE 5+ */
}