I am using this css to highlight the row on which is hovered.
.table tbody tr:hover td, .table tbody tr:hover th {
background-color: #eeeeea;
}
My problem is I am using rowspan=2
so I need to highlight the rows in row span. What will be css for it.
HTML
<table class="table">
<thead>
<tr>
<th></th>
<th width="10%" >Req ID</th>
<th width="10%">Date</th>
<th width="5%">Qty</th>
<th colspan="3" width="45%">Plant Info</th>
<th width="10%">Picture</th>
<th width="10%">Pic type</th>
<th width="30%" >Action</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
<td></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td></td>
<td></td>
<td></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
<td rowspan="2"></td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
</tbody>
Screen shot of the problem. There is row span on this row, while I hovered it highlight only first row.