How to write couplet advertising code using css

墨辰丷
Release: 2018-05-09 16:51:05
Original
3457 people have browsed it

The couplet advertisements provided in this article are completely implemented using CSS and are compatible with all browsers, including various ie, ff, and gg browsers. The code is simple and easy to use.

The code is as follows:

 .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;}       
Copy after login

Related recommendations:

js couplet ads under div css do not scroll with the screen Solution_html/css_WEB-ITnose

How to modify the global couplet advertisement of Discuz X2

javascript couplet advertisement Compatible with IE FF

The above is the detailed content of How to write couplet advertising code using css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!