本文章提供的对联广告是完全使用css实现的,并且兼容所有浏览器,包括各种ie,ff,gg浏览器,代码简洁好用。
代码如下:
.couplet_ad/* 底部固定*/{position:fixed;bottom:auto; top:0; width: 120px; height: 230px; z-index:99999; margin-top:158px;}html .couplet_ad/* IE6 底部固定*/{_position:absolute;_bottom:auto;_top:_expression(eval(document.documentElement.scrollTop));}.couplet_ad a{ display:block; cursor:pointer;}#ad_left{ left: 0px;}#ad_right{ right: 0px;}登录后复制
相关推荐:
p+css下js对联广告不随屏幕滚动的解决方法_html/css_WEB-ITnose
怎么修改 Discuz X2 的全局对联广告
javascript对联广告 兼容 IE FF
以上就是如何用css写对联广告代码的详细内容,更多请关注易企推科技其它相关文章!
本文地址:网络百科频道 https://www.eeeoo.cn/wangluo/1149592.html,嗨游网一个专业手游免费下载攻略知识分享平台,本站部分内容来自网络分享,不对内容负责,如有涉及到您的权益,请联系我们删除,谢谢!