asp:行与行之间的间距怎么都调不小!怎么办?

来源:百度知道 编辑:UC知道 时间:2024/06/07 12:13:36
<%
if rs.eof and rs.bof then
response.write("现无文章")
else
do until rs.eof
%>
<tr height="15px" style="line-height:12px">
<td width="100%"><a href="news.asp?id=<%=rs("id")%>"><%=cutstr(rs("content"),10)%></a>
</td>
</tr>
<%
rs.movenext
loop
end if
%>
行距的问题,我把line-height的数值弄小后,只能显示半个字,但行距还是那大,这是怎么个问题啊/???
请高手指教撒~

这样简单又方便,不懂再Q我,.到懂为止

<%
if rs.eof and rs.bof then
response.write("现无文章")
else
do until rs.eof
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10" style="line-height:10px"><a href="news.asp?id=<%=rs("id")%>"><%=cutstr(rs("content"),10)%></a></td>
</tr>
</table>
<%
rs.movenext
loop
end if
%>

line-height=1.5

把height="15px" 改小点