请网页高手帮忙看下这个代码!!!怎么居中滚动啊?

来源:百度知道 编辑:UC知道 时间:2024/06/09 09:59:50
<table width="70%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><marquee scrollAmount=2 width=200 height=77 direction=up><span class="STYLE55">2007年3月7日 星期三 晴
<br />
阿布可以记住东西了......
<br />
<br />
2007年3月4日 星期日 大雪
</span>
</MARQUEE></td>
</tr>
</table>
不行,还是不变啊

<td align="center"><marquee scrollAmount=2 width=200 height=77 direction=up><span class="STYLE55">......
试试

补充:外面加个div 去掉表格的宽度,不知道是不是你要的效果.
代码如下:
<div align="center">
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><marquee scrollAmount=2 width=200 height=77 direction=up><span

class="STYLE55">2007年3月7日 星期三 晴
<br />
阿布可以记住东西了......
<br />
<br />
2007年3月4日 星期日 大雪
</span>
</MARQUEE></td>
</tr>
</table>
</div>