Reputation: 656
<tr>
<td class="mHeads" rowspan="4" > GENERAL </td>
<th class="subHeads"> 2G Network </th>
<td class = "currentSel"><?php echo $row["2GNetwork"];
</td>
</tr>
.currentSel {
width:230px;
border:1px solid black;
max-width:230px;
height: 35px;
}
In the above code, the echo statement is overflowing the data rather than adding increasing the length of the row. Can anyone help me how to fix it without using the overflow property?
Upvotes: 1
Views: 74
Reputation: 9508
.currentSel {
width:230px;
border:1px solid black;
max-width:230px;
height: 35px;
overflow-y: auto
}
Already you have used width and height so, there is no way to get the extra space, only thing you can do is add overflow-y: auto
or remove width or height.
Upvotes: 1