2012-03-16 87 views
0

我有我的旁边放置了背景图片如下背景图像不会出现IE

<div class="rightLinks homeLocalChange"> 
    <a href="#" onclick="s_objectID=&quot;http://mypreviewdev.okla.seagate.com/portal/site/myseagate/menuitem.a7093785094fba806b42d710f014a_21&quot;;return this.s_oc?this.s_oc(e):true">ChangeLocation</a> 
</div> 

.threeCols .box .rightLinks a 
{ 
    background:url('../images/icn/icn_arrow_configure.png')no-repeat 95px 9px; 
} 

但不知何故像正好出现在完美FF/Chrome,但在IE浏览器,它只是没有按”这个位置链接t显示出来。

即使在开发者内部,它甚至不会显示我给出的CSS。

我使用IE8

+0

请更新你的答案,你失去了一些东西......像链接和你的代码没有显示出来。 – w3uiguru 2012-03-16 07:32:39

+0

没有位置链接 – Jack 2012-03-16 07:36:12

+1

而你似乎缺少'url'和''..images'之间的左括号 – 2012-03-16 07:47:16

回答

0

先给宽度和高度之前)

.threeCols .box .rightLinks a 
{ 
    background:url('../images/icn/icn_arrow_configure.png')no-repeat 95px 9px; 
    width:500px; 
    height:500px; 

} 
1

尝试添加空间no-repeat

.threeCols .box .rightLinks a { 
    background:url('../images/icn/icn_arrow_configure.png') no-repeat 95px 9px; 
} 
+0

在我的情况下,这解决了这个问题。 – 2013-02-11 11:57:50