还是表格的问题:response.write rst("stext")把表格撑大了
zyxwh 2003-05-10 08:47:26 还是表格的问题:response.write rst("stext")把表格撑大了
我把表格设成百分比、像素都不行,加上取掉nowrap也不行,
又加了 style属性固定列宽,结果长出去的文字被截掉了,
撑大的表格可以大到屏幕的几倍宽,是什么原因?
<tr height="13" >
<td width="17%" rowspan="2" align="left" valign="top" bgcolor="#e6e6cc" >
</td>
<td width="48%" bgcolor="#e6e6cc" nowrap height="22" ></td>
</tr>
<tr>
<td bgcolor="#e6e6cc" align="left" style="WORD-WRAP: break-word" valign="top" colspan="2">
<font size="2">
<%
str=Replace(rst_hf("stext"),chr(13),"<br/>")
Response.write(str)
%>
</font> </td>
</tr>