jsp如何给rowspan设置值

来源:百度知道 编辑:UC知道 时间:2024/05/17 23:31:09
<tr>
<td id="queryTypeLable" rowspan="2" class="qry_title2" width="15%" align="center" >
<span class="STYLE6">查询分类</span>
</td>
<td id="chooseTypeRadio" rowspan="2" width="15%" align="left" >
</td>
<td class="qry_title2" width="20%" align="center">
月份
</td>
<td width="30%" align="left" >
</td>
</tr>

rowspan是要占得列数
比如
1 6
2 3 4 5
1和6占两个列,2345各占一个列
错了 rowspan是占得行数 colspan是占得列数

没明白你的意思`?
int rowspan=?;
难道是rowspan="<%=rowspan%>"