» 网友学堂 » HTML/CSS教程 » 浮动广告2-可关闭
浮动广告2-可关闭
作者:暖月 发表时间:2005-9-13 14:31 阅读:3858次 在百度搜索相关内容

演示http://book.wamcc.com

以下是引用内容:

<div style="position: absolute; width: 100px; height: 111px; z-index: 1; left: 889px; background-color:red; top: 3px" id="layer1">
<img border="0" src="http://www.89ba.com/images/ad1.gif" width="100" height="100"><br>
<a href="javascript:" onclick="document.getElementById('layer1').style.display='none';"><font color="#FFFFFF">关闭广告</font></a></div>
</center>
</div>

#Advertisement