2012-02-29 21 views
-1

,這是什麼修復...1px的鏈路沒有被強調或懸停

enter image description here enter image description here

這裏是CSS:

 .post a{ 
     color:black; 
     text-decoration: underline; 
     font-size:13px; 
     line-height: 1.3; 
     font-family: Helvetica, Arial; 
     font-weight: bold; 
    } 
    .post a:hover{ 
     color:white; 
    } 

這裏是我的HTML:

<small>on April 20th in <a href="#">Marijuana</a> tagged <a href="#">Drugs</a>, <a href="#">Science</a>, <a href="#">Herb</a></small> 
+0

這看起來像[這裏]描述的IE6錯誤(http://www.positioniseverything.net/explorer/italicbug-ie.html)。你能確認這個問題只發生在IE6中嗎? – 2012-02-29 20:11:14

+0

它只發生在斜體文本中嗎? – j08691 2012-02-29 20:11:46

+1

使用Chrome瀏覽器(這可能是一個瀏覽器問題)我只在'Drugs'中看到's'上的1px問題,我猜這是因爲斜體樣式會將像素推入逗號視圖。正如你的形象所表明的,我沒有看到'大麻'的問題。 – thepriebe 2012-02-29 20:12:54

回答

0

其實我在那裏看不到問題。但是,您可以使用margin-bottom而不是text-decoration,並嘗試給錨元素一些填充。

+2

謝謝如果您沒有看到問題,您的答案將不相關。 – 2012-02-29 20:15:07

+0

感謝priebe捕捉它,是它的斜體造型。對,吸菸。 – nick 2012-02-29 20:19:10