2011-09-30 77 views

回答

1

至少這就是瀏覽器處理它的原因。

如果你期待這,那麼,你在main.css的一個錯字

.font-filer a { color:#997f62; } 

需求是

.font-filter a { color:#997f62; } 
+0

典型的它只是一個錯字 - thanx :) –

0

您可以設置字體顏色對周圍p,但不在a本身。嘗試明確設置鏈接的顏色。

<!-- In the stylesheet, you set explicit color for p --> 
<p class="font-filter"> 
    <!-- and not for a, so it's using default --> 
    <a title="most-popular" href="#most-popular"> 
     <cufon class="cufon cufon-canvas" alt="Vinsælustu" style="width: 145px; height: 34px;"> 
      <canvas width="158" height="36" style="width: 158px; height: 36px; top: -2px; left: -1px;"></canvas> 
      <cufontext>Vinsælustu</cufontext> 
     </cufon> 
    </a> 
</p> 
+0

所以當使用cufon替換時,建議使用「cufontext」標籤? –