gpt4 book ai didi

html - IE 7兼容模式位置:absolute bug

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

我页面的#footerdetails div 绝对定位并固定在底部。 (我知道,IE 问题迫在眉睫)

无论如何... http://talga.sanscode.com/blog

看看 IE 7(即 8 兼容)中的页脚。屏幕右侧一直有一个数字。

在所有其他浏览器中,它都位于左侧。

有什么办法解决这个问题吗?

杰森

最佳答案

@贾森;

我在 IE 中看到它可能你必须定义 width like width:200px; 到你的 #footerdetails div 因为在 IE7 中它需要 width 100% 的屏幕。

CSS

#footerdetails {
color: #FFFFFF;
display: block;
height: 100px;
left: 0;
position:fixed;
text-align: right;
top: 0;
width: 200px;
z-index: 100;
}

关于html - IE 7兼容模式位置:absolute bug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5907591/

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