产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 求助代码问题(在线等待)
傲视飞天 - 2012/6/15 11:06:00
大家看下面代码有什么问题?
(1)为什么时间和滚动文字分为两行显示了,怎么能让它们在一行里显示?
(2)滚动文字有超链接,如何取消?
(3)滚动文字前后两端有两方格,如何取消?
代码如下:
<script language=Javascript>
var now=new Date()
document.write(" 今天是"+now.getYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+" 日")
</script>
<p><style type="text/css">
<!--顶部公告栏
body { margin: 0px;padding: 0px;text-align: center;}
TD {FONT-SIZE: 12px; COLOR: #333;}
#toubiao {BORDER-BOTTOM: #006600 1px solid;}
--></style></p>
<SCRIPT>
    function toueme(){
        document.getElementById("toubiao").style.display="none";
    }
</SCRIPT>
<div id="toubiao">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
    <tbody>
        <tr>
            <td align="center" width="4%" height="20"><img height="14" width="15" alt=""
src="http://www.21ud.com/topad/images/kids.gif" /></td>
            <td width="82%"><marquee scrollamount=4><p>   <a
href="http://www.21ud.com/browse/category-10240.htm">欢迎光临*****网站,携手共建和谐校园!海纳百川,可持续发展…</a></p></marquee></td>
            <td align="right" width="14%"><a style="cursor: hand" onclick="toueme"
        </tr>
    </tbody>
</table>
</div>
秦时明月 - 2012/6/15 11:43:00
给图 给个连接!!
hmlmeilin - 2012/6/15 13:32:00
<a
href="http://www.21ud.com/browse/category-10240.htm">把这去掉
1
查看完整版本: 求助代码问题(在线等待)