This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by C
almost 11 years

Text decoration not working ?

I put this code:

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

But it says that i didn’t set my text decoration to none? I’m not sure what i’m doing wrong. I am using chrome by the way.

Answer 516e38af8f1f82d576003cd4

2 votes

Permalink

I got it to work with this:

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

So just write the link code at the top and bottom.

points
Submitted by Kevin Der
almost 11 years

1 comments

C almost 11 years

It works now!! Thank you very much!

Answer 51652ec6130aa6f81600234b

1 vote

Permalink

I looked over my code again and there was something else wrong, you might wanna look through the whole code again to make sure you haven’t forgotten anything.

points
Submitted by christhursday
almost 11 years

Answer 5168a760e55a5ed990000f9e

1 vote

Permalink

I had the same problem, turns out putting “ “ around the link in < a href= (link here)> solved the issue for me, so it turned out like < a href=”link”>blahblah< a> (remove the space infront of the a’s)

points
Submitted by jaruri
almost 11 years

1 comments

KingDevil over 10 years

worked for me, thanks….

Answer 51652a00a28c13293f002093

0 votes

Permalink

Same thing happened to me, using Safari. Tried refreshing site etc does not work

points
Submitted by christhursday
almost 11 years

Answer 5165a885f12beafb98004352

0 votes

Permalink

Just tried your code and it worked fine.

points
Submitted by Adam
almost 11 years

Answer 516881e3ccc6052705000792

0 votes

Permalink

I am having the same problem. Any help?

points
Submitted by Jason McIntosh
almost 11 years

Answer 51acb3b5d217e9958c0015f9

0 votes

Permalink

i found that putting the a CSS rule at the very top works. these exercises can be very buggy ironically

points
Submitted by ramens4
almost 11 years

1 comments

Clarke Moyer almost 11 years

Moving to the top worked for me as well.

Answer 52169588f10c6071ab000283

0 votes

Permalink

It’s works! Thanks Kevin

points
Submitted by Aurora
over 10 years