.copyright2_line {
  padding: 5px 5px 5px 5px;
  width:100%;
  position:fixed; _position:absolute;_bottom:expression(eval(document.body.scrollTop));z-index:1024;right:0;bottom:0; 
}

解决方案 »

  1.   

    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>浮动</title>
    <style type="text/css">
    #postBar {
    position:fixed;
    left:0px;
    bottom:0;
    _position:absolute;
    _top:expression(document.documentElement.clientHeight + document.documentElement.scrollTop - this.offsetHeight);
    }
    </style>
    </head>
    <body>postBar
    <div style="height:1000px;"></div>
    <div id="postBar"><img src="http://static.kijiji.cn/images/post.gif" alt="广告" /></div>
    </body>
    </html>
      

  2.   

    muxrwc 
    恩 你这个是解决了我的问题 
    但是这样 我其余的页面本来是正常的那些 确又出现了滚动条 
      

  3.   

    出现了滚动条?
    是不是设置位置的时候多设置了?
    少设置点呢?
    比如说bottom值可以设置大一些..
    left值也是.并且用
    document.body
    或者
    document.documentElement
    根据你是否用DTD来决定的.
      

  4.   


    现在我用你这个在jsp页面 但是连页脚都不显示了 dtd在jsp里怎么写?
      

  5.   

    页脚?
    .copyright2_line {
      padding: 5px 5px 5px 5px;
      width:100%;
     float:left;
    }
    我没太明白你的意思,是出现滚动的时侯就变形了吗?
    要是变形,你用FLOAT试下