开发者

Style width:100%;height:100% is not working in IE6.0

开发者 https://www.devze.com 2022-12-18 04:02 出处:网络
#backgroundPopup{ position:absolute; height:100%; width:100%; } its fine, if we give width=500px; but when we put as % then no 开发者_开发问答result. In IE6.0 Why?try setting this in addition
#backgroundPopup{
position:absolute;
height:100%;
width:100%;
}

its fine, if we give width=500px; but when we put as % then no 开发者_开发问答result. In IE6.0 Why?


try setting this in addition

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消