Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html IE8中的浮动css页脚_Html_Css_Footer_Sticky Footer - Fatal编程技术网

Html IE8中的浮动css页脚

Html IE8中的浮动css页脚,html,css,footer,sticky-footer,Html,Css,Footer,Sticky Footer,嗨,这个问题可能会被问几次,但我找不到一个具体的例子来说明我在做什么,我有一个页脚: <div id="Footer"> <table> <tr> <td colspan="3"> <span>Copyright</span> </td> <td>

嗨,这个问题可能会被问几次,但我找不到一个具体的例子来说明我在做什么,我有一个页脚:

<div id="Footer">
        <table>
        <tr>
            <td colspan="3">
                <span>Copyright</span> 
            </td>
            <td>
                <asp:Label runat="server" ID="lblVersion"></asp:Label> 
            </td>
        </tr>
        </table>     
    </div>
在IE6中,这个效果很好,在IE8中,分辨率为1280 x 1024及以上,这个效果很好,但在这个分辨率以下或IE窗口变小时,页脚会浮动,我尝试设置位置/浮动/清除/显示样式设置,但运气不佳,有没有人知道如何使它以较小的屏幕分辨率粘贴在底部?

阅读以下内容:


它说,任何内容都不能位于.wrapper和.footer div标记之外,除非绝对使用CSS定位。我该怎么做?我在页脚之外有其他内容,当这个其他内容的样式设置为position:absolute时,我仍然会在页脚上遇到同样的浮动问题。为什么要在包装器或页脚之外添加内容?。。你还需要在屏幕上显示什么?它是这样的,那么我需要在包装上设置什么?
div#Footer
{
  padding: 4px 1px 1px 0px;
  margin: 0px;
  margin-top:80px; 
  border-top: thin solid #000000;
  height:1.5em;
  background-color:#333333;
  color:White;
}