我有一个看起来像我的页面上的链接:Internet Explorer的多个类
<a href="www.wherever.com" class="tour-register id-tour-button"></a>
和我的CSS写着:
.id-tour-button { display: inline-block; position:relative; z-index: 10; }
a.tour-register { background: transparent url(../img/register.png) no-repeat; width: 133px; height: 23px; }
这工作完全在Firefox,但在IE浏览器的链接消失,并且使用IETester进行的检查表明该元素根本不使用第二条线。我做了什么错?
你测试了什么版本的IE? – roryf 2011-03-02 16:06:08