tr,td没起作用
我做了个表格,循环写入内容,但是只有第一行是正确按照表格的排版,第二行开始所有数据都按顺序排了,表格定的框架相当于没起作用,代码如下”
请各位高手帮下小弟,万分感谢
<table>
<%
while not rs.EOF
%>
<tr align= "center ">
<%
For each x in rs.fields
%>
<td align= "center "> <%=x.value%> </td>
<%
next
%>
</tr>
<%
rs.movenext
%>
</table>
<%
wend
------解决方案-------------------- <table>
<%
while not rs.EOF
%>
<tr align= "center ">
<%
For each x in rs.fields
%>
<td align= "center "> <%=x.value%> </td>
<%
next
%>
</tr>
<%
rs.movenext
wend
%>
</table>
------解决方案-------------------- <table border=1>
<%
while not rs.EOF
%>
<tr align= "center ">
<%
For each x in rs.fields
%>
<td align= "center "> <%=x.value%> </td>
<%
next
%>
</tr>
<%
rs.movenext
wend
%>
</table>