2013-06-19 22 views
0

我有與以下代碼類似的css代碼。 (我應付http://jsfiddle.net/LmvgM/8/謝謝@thirtydot)。當鏈接關注時,我發現:在內容被包含之前。不包括:鏈接上的內容前焦點

那麼我怎樣才能從高亮框中刪除它,讓框只有文本,沒有'>'。

enter image description here

box.blueb a { 
    color: #0098aa; 
    position: relative; 
    margin-left: 5px; 
    padding-left: 10px; 
    text-decoration: none; 
} 
.box.blueb a:before { 
    content: "> "; 
    position: absolute; 
    top: 0; 
    left: 0; 
} 

.box.blueb a:hover { 
    text-decoration: underline; 
} 
+0

你不清楚你想要什麼。如果我明白了。你只是想刪除該位置:絕對; –

+0

你能解釋一下你的目標嗎 –

+0

這個箱子只包括文字,沒有「>」@KeesSonnema – Jair

回答

0

你的意思是你要刪除的藍色聚焦框?

:focus { 
    outline-color: transparent; 
    outline-style: none; 
} 
+0

我想要有foto的風格,但只包含文字,沒有「>」 – Jair