gpt4 book ai didi

css - IE6/7 漏洞 : there are empty space without any logical reason

转载 作者:太空宇宙 更新时间:2023-11-04 05:20:44 25 4
gpt4 key购买 nike

这真的很奇怪(好吧,就像许多 IE 错误 lol)。页面是here .所有现代浏览器都很好,但在 IE6 和 IE7 上页脚和页面底部之间有一个空白区域。就是想不通是什么原因。我正在使用 IE7.js hack,但在这里没有帮助。

截图:IE6IE7 .

页脚的 CSS:

#footer {
background: url("images/footer_bg.png") repeat scroll 0 0 transparent;
clear: both;
color: #FFFFFF;
float: left;
font-family: 'Special Elite',arial,serif;
font-size: 13px;
line-height: 85px;
margin-top: 90px;
min-height: 85px;
text-align: center;
width: 100%;
}

如有任何建议,我们将不胜感激!

最佳答案

从页脚中删除 float:left

这会使其他浏览器“折叠”#footer 的上边距,因此如果您还添加 overflow: hidden#wrapper 它应该使它们均匀..

re:bug:IE6/7 的宽度触发了 hasLayout 而不是避免它,包装器上的溢出使每个人都一样

至少我希望;)

关于css - IE6/7 漏洞 : there are empty space without any logical reason,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6635001/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com