Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove underline from a name on hover

Tags:

html

css

People also ask

How do I remove underline from text?

Use Keyboard ShortcutsPress "Ctrl-U" on your computer's keyboard to remove the underline from your selected text. This quickly reformats one underlined word, phrase or section in your document.


try this:

legend.green-color a:hover{
    text-decoration: none;
}

Remove the text decoration for the anchor tag

<a name="Section 1" style="text-decoration : none">Section</a>

You can use CSS under legend.green-color a:hover to do it.

legend.green-color a:hover {
    color:green;
    text-decoration:none;
}

To keep the color and prevent an underline on the link:

legend.green-color a{
    color:green;
    text-decoration: none;
}