How do I set my links text declaration in CSS.

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.

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>

        <title>About Me</title>
    </head>
    <body>
        <img src="http://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
        <p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
        <div>
            <a href="https://www.facebook.com/">Facebook</a>
        </div>
    </body>
</html>

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
  • Member since: 2007

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

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

    #181076 Aug 08, 2017 10:46