0

ページ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; 
} 
4

1 に答える 1

0

投稿したコードの量から判断するのは難しいですが、

これは役に立ち<li>ませ</li></li>

于 2013-09-23T09:28:32.287 に答える