<table width="996" height="25" border="1" cellspacing="0" bordercolor="#000000" style="border-collapse:collapse">
<tr align="center" bgColor='#ddf3ff'>
<td width="3%">序号</td>
<td width="5%">货号</td>
<td width="6%">到站</td>
<td width="6%">转运站</td>
<td width="6%">收货人</td>
<td width="7%%">收货电话</td>
<td width="4%">件数</td>
<td width="4%">体积</td>
<td width="4%">重量</td>
<td width="6%">总运费</td>
<td width="6%">货到付款</td>
<td width="6%">现金</td>
<td width="6%">回付</td>
<td width="7%">回扣</td>
<td width="7%">代收款</td>
<td width="6%">接货费</td>
<td width="10%">备注</td>
</tr>
</table>
<%
dim x
x = 1
Do While Not Rs.Eof
%>
<table width="996" border="1" cellspacing="0" bordercolor="#000000" id="tb1" style="border-collapse:collapse">
<%
dim curpage,i
if request("page")="" then
curpage = 1
else
curpage = clng(request("page"))
end if
for i=1 to pagenum
if not Rs.eof then
%>
<tr align="center" height="25">
<td width="3%"><%response.write(x)%></td>
<td width="5%"><%=Rs("sxhh")%></td>
<td width="6%"><%=Rs("sdzmc")%></td>
<td width="6%"><%=Rs("zdzbm")%></td>
<td width="6%"><%=Rs("shrxm")%></td>
<td width="7%"><%=Rs("shrdh")%></td>
<td width="4%"><%=rs("fhsl")%></td>
<td width="4%"><%=rs("fhtj")%></td>
<td width="4%"><%=rs("fhzl") %></td>
<td width="6%"> <% if rs("zyf")<>0 then%><%=rs("zyf")%><%else response.Write "" end if%></td>
<td width="6%"><% if rs("hdfk")<>0 then%><%=rs("hdfk")%><%else response.Write "" end if%></td>
<td width="6%"><% if rs("yjyfhj")<>0 then%><%=rs("yjyfhj")%><%else response.Write "" end if%></td>
<td width="6%"><% if rs("sqke")<>0 then%><%=rs("sqke")%><%else response.Write "" end if%></td>
<td width="7%"><% if rs("hkze")<>0 then%><%=rs("hkze")%><%else response.Write "" end if%></td>
<td width="7%"><% if rs("dshk")<>0 then%><%=rs("dshk")%><%else response.Write "" end if%></td>
<td width="6%"><% if rs("jhfy")<>0 then%><%=rs("jhfy")%><%else response.Write "" end if%></td>
<td width="10%"></td>
</tr>
表格都固定了长度和宽度,但是输出的内容是变动的会撑大表格 造成标题与内容对不齐 大家是如何处理 表格的打印的
还是如果固定每页输出几行的话 有时候查询出来的内容比较长 就会撑大表格 多了半行出来 造成表格不完整
请问大家是怎么处理的?