This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

227 points
5226b420abf82140e2001685_18745348
Submitted by
Sam Barrett
over 3 years ago

Did you remember to set your link's text-decoration to none;? Yes. Yes I did.

I'm like Franks Hot Sauce - I spread that text-decoration:none; everywhere.

h1 {
font-family:Verdana, sans-serif;
color:#576d94;
text-decoration: none;
}
p {
font-family: Garamond, serif;
font-size:18px; color:#4a4943;
text-decoration: none;
}
img {
height:100px;
width: 300px;
border:1px solid #4682b4;
text-decoration: none;
}
h2 {
text-decoration: none;
color: #cc0000;
}

But no love. Text-decoration, y u no?

Here's my HTML file:

<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
</head>
<body>
<h1>Jerky yo.</h1>
<p><a href="http://www.whatthepho.net/" >What the pho?</a></p>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQRjoqVZK89GogyLQ1rjRCMvTdZUIwuYGQ-ckMxASIDsL1FT6aJ" />
<h2><a href="http://www.whatthepho.net/" >daddy like?</a></h2>
</body>
</html>


1 vote

permalink

had the same problem. i tried this and it worked
in CSS

a:link {
text-decoration: none;
color: #cc0000;
}

Good luck!

276 points
Picture
Submitted by
cgoodwill
over 3 years ago

1 Comment

8ddb375bfabfdfbc87bc1ace8810e1ad?s=140&d=retro Torsten Schmäl over 3 years ago

Worked for me too :-)


1 vote

permalink

did NOT work for me....

210 points
Picture
Submitted by
Sharon MacGregor
over 3 years ago


1 vote

permalink

I had the same problem with Chrome, but it worked with Firefox. I find switching browsers sometimes solves the problem.

1167 points
54eeaece95e378d8cf000a7c_388365426
Submitted by
Michael (Ozzie) Osborn
over 3 years ago

1 Comment

54733a0a9c4e9d907d0093aa_299182120 ArtemisForever over 2 years ago

Yeah! Firefox! The best browser! I'm so happy reading through all these posts because at my school, almost no one uses Firefox, so I'm glad to know that there are other people who use it! :)