HTML
codice:
<table>
<thead>
<tr>
<th class="a">AA</th>
<th class="b">BB</th>
<th class="c">CC</th>
<th class="d">DD</th>
<th class="e">EE</th>
<th class="f">FF</th>
<th class="g">GG</th>
<th class="h">HH</th>
</tr>
</thead>
</table>
CSS
codice:
.box_tbl table{
float:left;
margin:0; padding:0;
width: 885px;
}
th.a{ width:20px; }
th.b{ width:60px; }
th.c{ width:40px; }
th.d{ width:150px; }
th.e{ width:30px; }
th.f{ width:100px; }
th.g{ width:50px; }
th.h{ width:20px; }
Come mai invece ad esempio th.d che dovrebbe essere 150px arriva a 262px?
Capisco che la tabella ha width di 885px e la somma delle th non ci arriva, però cmq le misure in px non corrispondono.