Schränkweite für Tabellenzelle mit colgroup nicht funktioniert in IE9Breite der Tabelle Zelle basierend auf colgroup
<table id="Grid1_Table" class="Table">
<colgroup>
<col style="width:20px">
<col style="width:20px">
<col style="width:180px">
<col style="width:200px">
</colgroup>
<tbody>
<tr>
<td class="RowHeader"><div> </div></td>
<td class="RecordPlusCollapse"><div> </div></td>
<td colspan="2" class="GroupCaption">Order ID: 0 - 1 Items</td>
</tr>
</tbody>
</table>
.RowHeader
{
background-color : black;
}
.GroupCaption
{
background-color : #868981;
}
.RecordPlusCollapse
{
background-color : red;
}
.Table{
width: 100%;
}
Erste 2 <td>
Breite ist nicht so colgroup
in IE9 nicht funktioniert. Nicht sicher, warum die Breite unterschiedlich ist.
@Sridar Narsimhan Wenn Sie stimme der Antwort zu, es wäre toll, wenn du es akzeptierst, indem du auf das Häkchen-Symbol klickst. Siehe https://stackoverflow.com/help/someone-answers –