Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How do I set my links text declaration in CSS.

Vote:
 

I've been trying to set my links text-declaration to none, but I keep getting this error message.

"Oops, try again. Did you remember to set your link's text-decoration to none;?"

link {
    font-family: Verdana;
    color: yellow;
    text-decoration: none;
}

This is what the index.html page looks like.



    
        

        About Me
    
    
        
        We're Codecademy! We're here to help you learn to code.

Facebook

Does anyone know what i need to do to fix this and get it to accept the "text-decoration: none; ?"

#181059
Aug 08, 2017 4:31
Vote:
 

Not really related to Episerver... but have you tried:

a {
    font-family: Verdana;
    color: yellow;
    text-decoration: none;
}
#181076
Aug 08, 2017 10:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.