csstwitter-bootstraptext-decorations

Glyphicon weird link decoration behavior


Can somebody explain me the difference between setting 'text-decoration: none' via css file and via element.style to a link?

DEMOS: with icons | with text

when you hover over the first icon, (in the first example), you see this little line:

ugly link underline


Solution

  • You need just a little fix:

    a, a:hover {
        text-decoration: none; 
    }