|
|
制作一个漂浮在底部的 随着页面滚动而滚动的层!
- <html>
- <head>
- <title></title>
- <style type="text/css">
- body { background-image:url(text.txt); /* for IE6 */background-attachment:fixed; height:1000px; }
- #wmffbottomNav { background-color:#096; z-index:999; position:fixed; bottom:0; left:0; width:100%; _position:absolute; /* for IE6 */
- _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; }
- </style>
- </head>
- <body>
- <div id="wmffbottomNav">固定漂浮 在页面的底部<a href="https://www.cgzz8.cn/">哈哈,底部的层啊~</a></div>
- </body>
- </html>
复制代码
|
|