css 兼容

来源:互联网 发布:java客户端和服务端 编辑:程序博客网 时间:2024/04/28 13:16

min-width

_width:expression((document.documentElement.clientWidth||document.body.clientWidth)<900?"900px":"");

背景闪动

IE 6 因为不会缓存背景图片, 导致鼠标移动到有背景图片的按纽时,都会重新加载图片. 可以通过以下JS, 让IE6缓存背景图片
document.execCommand("BackgroundImageCache", false, true);



0 0
原创粉丝点击