写<td></td>吧
然后设置<td>的属性style,把边宽度设置成0
然后设置<td>的属性style,把边宽度设置成0
解决方案 »
- 发邮件出错javamail!到底错哪儿了!请教大家!【100分求助】
- 使用JDK1.6自带的WebService构建实际项目,可以吗?请高手指点
- 程序员之我该怎么办!
- 怎么理解java泛型?
- VTD-XML 的中文问题怎么解决
- 一个非常郁闷的问题,情高手帮忙
- The method getJspApplicationContext(ServletContext) is undefined for the type
- jfreechart折线图XYSeries数据问题
- 国际化问题!我已经添加了..._zh.properties文件,但显示出来还是一堆乱码,怎么回事啊?
- 请问怎么解决jboss和oracle的8080端口冲突问题?
- 关于使用IText打印PDF 的问题
- 如何让部署在liferay portal上的jspportlet支持WAP访问?
if(i==4)
{
</tr><tr>
}
<table>
<tr>
<%
int b = -1;
%>
<logic:iterate id="p1" name="list1" type="com.onest.sale.entity.Dutyperson" scope="request">
<%
b++;
if (b % 3 == 0) {
%>
</tr>//-----------这里是重点,就在这换行了。
<tr>>//-----------这里是重点。 <%
}
%>
<td>
<input type="checkbox" name="checkbox1" id="checkbox1" value="${p1.name},${p1.useraccountid }" onclick="if (this.checked){document.getElementById(${p1.useraccountid}).style.display='block';findPosition(${p1.useraccountid })}else{document.getElementById(${p1.useraccountid}).style.display='none'};" />
${p1.name }(${p1.mobile })
<div id="${p1.useraccountid}"></div>
</td>
</logic:iterate>
</tr>
</table>
<table width="100%" ……>
<%
for (int i = 0; i < totalRecords; i++) {
if (i % 4 == 0) {
%>
<tr> // 每4条记录就用<tr>换行
<% } %>
<td ……> ……</td>
<td ……> ……</td>
<td ……> ……</td>
<td ……> ……</td>
<%if (i + 1) % 4 == 0) {%>
</tr>
<% } %>
<% } %>
</table>