以下网站上的工作元素上悬停:http://cetcolor.comIE不尊重:
桅顶的图形与“阅读它”按钮与悬停定位链接,当在显示器推出的橙色按钮图形,是一个可点击的链接。
但是,在IE浏览器中它不起作用。
这里是受影响的HTML:
<div id="header">
<a href="/" title="CET Color"><img src="images/logo.gif" width="147" height="86" alt="CET Color" class="logo"></a>
<span class="strapline">Affordable Large-format UV Printing Solutions</span>
<a href="/pressroom_article8" class="read_about_it"></a>
</div>
这里是引用CSS:
#header .read_about_it {
position: absolute;
top: 239px;
left: 803px;
z-index: 100;
width: 114px;
height: 17px;
}
#header .read_about_it:hover {
background-image: url(/images/masthead_index_read_about_i.jpg);
background-repeat: no-repeat;
cursor: pointer;
z-index: 101;
}
有没有人有,为什么悬停没有在IE浏览器中工作的任何想法?
一个原因可能是您有一个空的链接。尝试在其中插入一些文本并执行“text-indent:-9999px”将其移出。 – easwee 2012-03-22 16:18:19
我认为你是对的,这个问题处理的链接是空的。当我将内容添加到链接时,它会起作用。当我在上面的第一个声明中添加文本缩进时,它停止工作。不知道该怎么办... – Yazmin 2012-03-22 19:34:21