純DIV/CSS對聯漂浮廣告代碼

來源:互聯網
上載者:User

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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 runat="server">
    <title>無標題頁</title>
    <style type="text/css">
    .r1
{
 width: 80px;
 height: 30px;
 background: red;
 float: right;
 position: fixed !important;
 top: /**/ 10px;
 position: absolute;
 z-index: 300;
 top: expression(offsetParent.scrollTop+10);
 right: 20px;
}

.l1
{
 width: 80px;
 height: 80px;
 background: red;
 float: right;
 position: fixed !important;
 top: /**/ 10px;
 position: absolute;
 z-index: 300;
 top: expression(offsetParent.scrollTop+200);
 left: 20px;
}

    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="r1">
                sddfgsdfg</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>
        <div>
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
            askldflkasf<br />
        </div>
    </form>
</body>
</html>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.