Hallo,
warum haben hier die 2.;3.;5. und 6. Tabellenzelle nicht die Breite von 25%?
Hier die URL:
http://www.sggg2.de/kader.htm
Hier der Code der Seite:
Code:
<table id="sampletable">
<thead>
<tr>
<th class="norm">Trainergespann/Mannschaftsleiter</th>
</tr>
</thead>
<tbody>
<tr>
<td class="norm"></td>
<td class="zahl"></td>
<td class="norm"></td>
<td class="zahl"></td>
</tr>
<tr>
<td class="norm"></td>
<td class="zahl"></td>
<td class="norm"></td>
<td class="zahl"></td>
</tr>
</tbody>
<thead>
<tr>
<th class="norm">Spieler</th>
</tr>
</thead>
<tbody>
<tr>
<td class="norm"></td>
<td class="zahl"></td>
<td class="norm"></td>
<td class="zahl"></td>
</tr>
<tr>
<td class="norm"></td>
<td class="zahl"></td>
<td class="norm"></td>
<td class="zahl"></td>
</tr>
</tbody>
</table>
Und hier der Code der CSS:
Code:
#sampletable {
border-collapse:collapse;
border-spacing:0;
border:2;
border-width:0;
padding:1px;
width:100%;
margin:1em auto;
}
#sampletable th {
border-style:solid;
border-width:2px;
border-color:#000000;
padding:1px;
background-color:#ffffff;
color:inherit;
color:#000000;
font:normal 12px verdana, sans-serif;
font-weight:bold;
height:30px;
width:100%;
text-align:center;
}
#sampletable td.norm {
border-style:solid;
border-width:1px;
border-color:#000000;
padding:1px;
text-indent:10px;
color:#000000;
font:normal 12px verdana, sans-serif;
font:normal;
width:25%;
height:130px;
text-align:left;
}
#sampletable td.zahl {
border-style:solid;
border-width:1px;
border-color:#000000;
padding:1px;
text-indent:0;
color:#000000;
font:normal 12px verdana, sans-serif;
font:normal;
width:25%;
height:130px;
text-align:center;
}
Was muss ich am Code ändern um es hinzubekommen?
Grüße von Sven