孔雀台赌钱:关于表格单元格高度的设定(ASP或者说html的问题)

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/28 16:48:05
我在修改一个网页的时候,有一个单元格在行设定里高度为220,我需要的高度为80,可是我怎么改都改不过来。我把行设定里的高度去掉,在单元格里写上height=80,用浏览器看的时候还是220.

代码是<table width=150><tr height=220><td></td></tr></tabel>
我改成的是<table width=150><tr><td height=80></td></tr></table>
请高手教我。。
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr valign="top">
<td align="left" width="4" background="images/sidebox-content-left.gif"><img src="images/sidebox-content-left.gif" width="4" height="1" alt=""></td>
<%
set rs=server.createobject("adodb.recordset")
sql="select xuanyan,user,date from xuanyan order by id desc"
rs.open sql,db,1,1
%><td width="142" height="100" bgcolor="#99CCFF">
<marquee direction="up" scrollamount="2" onMouseOver=this.stop() onMouseout=this.start()>
<%do while not rs.eof%>
    <%=rs("xuanyan")%><p align="right">--<%=rs("user")%><br><%=rs("date")%></p>
<%
rs.movenext
loop
%></marquee></td>
<% rs.close %>
<td align="left" width="4" background="images/sidebox-content-right.gif"><img src="images/sidebox-content-right.gif" width="4" height="1" alt=""></td>
</tr>
</table>

这是整个表格。
整个网页结构这个地方是数个表格放一块,所以上下的部分没影响的。。

<marquee direction="up" scrollamount="2" onMouseOver=this.stop() onMouseout=this.start() height="80">
经过验证!

By 只爱刘锦
*******************************************************************************
爱你就是这么莫名其妙,是这么义无返顾,知道我不会是你今生的唯一,你却是我一生的最爱!
*******************************************************************************
免费下载 金山毒霸 http://download.union.kingsoft.com/union/source/downloadDb.php?uid=22142&sid=0

<table width=150><tr height=80><td > </td></tr></table>