<!--[if IE]>
<style type="text/css">
#botonHome .contButton p a span{ height:25px; }
#botonHome .contButton p a span input{ position: relative; bottom:5px; }
</style>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
#botonHome .contButton p a span input{ display: inline; margin:0px; padding:0px; bottom:0px; height:20px; }
</style>
<![endif]-->
最后,我能够正常显示所有浏览器中的按钮,但我不想在我的html文件中使用此内联代码。我怎样才能解决这个不同的CSS实现IE只使用CSS。这个IE和IE6破解只有CSS?
是的,但不会IE7也解释这些句子? –
我已经更新了我的答案。请按照链接,你会发现所有你需要的关于这个话题,包括详细的回答你的问题 – mkk
链接帮助,欢呼队友! –