0
点赞
收藏
分享

微信扫一扫

IE6兼容图片和fixed

看山远兮 2022-08-01 阅读 155

/*ie6 hack*/

* html, * html body {

background-image: url(about:blank);

background-attachment: fixed;

}



* html #menu {

/*position: fixed;*/

position: absolute;

top:expression(((e=document.document.scrollTop)?e:document.body.scrollTop)+100+"px");

}

举报

相关推荐

0 条评论