首页 新闻 会员 周边

关于js对css中important的操作

0
[已关闭问题]
<P>在FF中有<FONT color=#cc0033>this.style.setProperty</FONT>('background-color', 'blue', 'important')的方法对css的important的定义。</P> <P>但是在IE中有什么方法?</P> <P>这里有于特殊原因不希望用this.style.cssText = "background: !important";来实现。希望用this.style.background="";来实现,但这样的话,怎么加important呢??&nbsp;</P>
李.net的主页 李.net | 小虾三级 | 园豆:730
提问于:2008-07-03 11:34
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册