我正在使用表格来显示内容。表中有 3 行。在每一行(2 td)中,可以有多行内容。现在,它在 Mozila 中运行得非常好,当内容分布在超过 1 行时(它只会增加该特定行的高度),但在 IE8、IE9 中,它也会增加其他 tr 的高度。这是我的表格代码。
<table id="tbl_polls" style="border:none; width:100%">
<tbody>
<tr>
<td colspan="2" class="poll-q">
POLL QUESTION
</td>
</tr>
<tr>
<td style="width:3%;float:left">
<input type="radio" style="margin: 2px 0 0 2px; display:inline-block" value="108" name="answer">
</td>
<td style="width:97%;float:left" >
ANS 1: Carmont wins by retire
</td>
</tr>
<tr>
<td style="width:3%;float:left" >
<input type="radio" style="margin: 2px 0 0 2px; display:inline-block" value="109" name="answer">
</td>
<td style="width:97%;float:left" >
ANS 2: Carmont wins by decision
</td>
</tr>
<tr>
<td style="width:3%;float:left" >
<input type="radio" style="margin: 2px 0 0 2px; display:inline-block" value="110" name="answer">
</td>
<td style="width:97%;float:left" >
ANS 3: someone wins but i'm just not sure if i can make a specific decision as to what i think will happen exactly,this is longest answer and its spreads
</td>
</tr>
</tbody>
编辑:我已经上传了。 http://designs.digitaldreamstech.com/boldtiger/polls/