哦,是你的宽度设置的问题
最新商品公告那个td的宽度是170,而你用来容纳marquee的td却没设置宽度,这样,你的marquee并不是不动,而是你看不到它,因为它的容器td的被挤得宽度为零了,改成如下即可
注意:增加了 width=630
<td align="right" bgcolor="#FF9900" width=630>
<marquee scrolldelay=7 direction="left" onMouseOver="this.stop()" onMouseOut="this.start()">
-------------------------------------------
<html>
<head>
<style type="text/css">
a{color:blue;text-decoration:none;}
a:hover{color:red;}
td{font-size:15px;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/logo.gif" width="265" height="36" /></td>
</tr>
<tr>
<td><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="170" height="20" align="left" valign="middle" bgcolor="#ec9307">最新商品公告:</td>
<td align="right" bgcolor="#FF9900" width=630>
<marquee scrolldelay=7 direction="left" onMouseOver="this.stop()" onMouseOut="this.start()">
<a href="a.htm">雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
</marquee>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
最新商品公告那个td的宽度是170,而你用来容纳marquee的td却没设置宽度,这样,你的marquee并不是不动,而是你看不到它,因为它的容器td的被挤得宽度为零了,改成如下即可
注意:增加了 width=630
<td align="right" bgcolor="#FF9900" width=630>
<marquee scrolldelay=7 direction="left" onMouseOver="this.stop()" onMouseOut="this.start()">
-------------------------------------------
<html>
<head>
<style type="text/css">
a{color:blue;text-decoration:none;}
a:hover{color:red;}
td{font-size:15px;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/logo.gif" width="265" height="36" /></td>
</tr>
<tr>
<td><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="170" height="20" align="left" valign="middle" bgcolor="#ec9307">最新商品公告:</td>
<td align="right" bgcolor="#FF9900" width=630>
<marquee scrolldelay=7 direction="left" onMouseOver="this.stop()" onMouseOut="this.start()">
<a href="a.htm">雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
<a href="a.htm"> 雪撬宝宝最酷哈士奇</a>
</marquee>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货