Jquery中如何用CSS方法实现IE7中的!important
求助Jquery中怎么用CSS方法实现IE7中的!important$(a).css({ left:50%,top:50%,margin-left:-2
求助Jquery中怎么用CSS方法实现IE7中的!important
$(a).css({ "left":"50%","top":"50%","margin-left":"-200px!important","margin-top":"-100px!important","margin-top":"0", });
其中的带有:!important的属性不生效啊?怎么办呢?各位有没有好办法?
[解决办法]$("#tester").css("cssText", "margin-left: -200px!important;");