zoukankan      html  css  js  c++  java
  • DIV/CSS对联漂浮广告代码

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>DIV/CSS对联漂浮广告代码</title>
    <style>
    .r1{80px;height:80px;background:red;float:right;
    position:fixed !important; top/**/:200px;
    position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);right:20px;}
    .r2{80px;height:80px;background:red;float:right;
    position:fixed !important; top/**/:300px;
    position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);right:20px;}
    .l1{80px;height:80px;background:red;float:right;
    position:fixed !important; top/**/:200px;
    position:absolute; z-index:300; top:expression(offsetParent.scrollTop+200);left:20px;}
    .l2{80px;height:80px;background:red;float:right;
    position:fixed !important; top/**/:300px;
    position:absolute; z-index:400; top:expression(offsetParent.scrollTop+300);left:20px;}
    </style>
    </head>

    <body>
    <div class="r1"><a href="/d/adclick.php?id=11&url=http://www.25idc.com" target='_about'><img src="/js/pic/piao-l-1.gif" width="80" height="80" border="0" /></a></div>
    <div class="r2"><a href="/d/adclick.php?id=11&url=http://www.25idc.com" target='_about'><img src="/js/pic/piao-l-1.gif" width="80" height="80" border="0" /></a></div>
    <div class="l1"><a href="/d/adclick.php?id=11&url=http://www.25idc.com" target='_about'><img src="/js/pic/piao-l-1.gif" width="80" height="80" border="0" /></a></div>
    <div class="l2"><a href="/d/adclick.php?id=11&url=http://www.25idc.com" target='_about'><img src="/js/pic/piao-l-1.gif" width="80" height="80" border="0" /></a></div>
    </body>
    </html>

  • 相关阅读:
    IT面试技巧(2)
    mySQL学习入门教程——4.内置函数
    weight decay (权值衰减)
    c++读取文件目录
    caffe 卷积层的运算
    一个物体多个标签的问题
    python caffe 在师兄的代码上修改成自己风格的代码
    caffe 细节
    vim让一些不可见的字符显示出来吧
    python 读写文件
  • 原文地址:https://www.cnblogs.com/lavenderzh/p/1130715.html
Copyright © 2011-2022 走看看