我对www.redsandsafaris.com页面进行了更改,更改后右侧边栏未显示 css 样式表中的图像。如果您导航到德语翻译redsandsafaris.de,它使用完全相同的信息并且工作正常。它在 IE 和 safari 中完美显示,但在 Chrome 和 Firefox 中不显示。我在这里错过了什么!
<div id="mainrcolIndex">
<ul>
<li class="profmain_location">
<a href="pages/profileMain.html"
alt="Hunting farms and hunting areas"
title="Here are your hunting farms and hunting areas in Namibia">
Hunting Guides & Farms
</a>
</li>
</li>
</ul>
</div>
'
#mainrcolIndex ul { list-style-type: none; }
#mainrcolIndex ul li { }
#mainrcolIndex ul a {
display: block;
text-decoration: none;
}
li.profmain_location a {
height: 45px;
width: 240px;
float: left;
background-image: url(../images/profmain_location.jpg);
background-repeat: no-repeat;
background-position: right;
text-indent: -3000px;
}
li.profmain_location:hover a {
float: left;
height: 45px;
width: 240px;
background-image: url(../images/profmain_location.jpg);
background-repeat: no-repeat;
background-position: left;
}