This forum is now read-only. Please use our new forums! Go to forums
Error message about links text decoration
I keep getting an error message on 5.5. The error message looks like this:
Did you remember to set your link’s text-decoration to none;?
My CSS code looks like this:
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;
}
Thanks for helping me.
Answer 517a644f763d579e56002b5d
I tried the same code in css tab i.e. a { text-decoration:none; color:#cc0000; }
But it did not work for me too.
so i tried the below mentioned code in index.html itself and it worked for me.
“link “
Answer 515a543e1bf38e4c27000899
Hmmmm
I used this code first: a: {color:#cc0000;text-decoration:none} Then I tried this: a:link {color:#cc0000;text-decoration:none} I was so relieved when I found your suggestion, Khadirah a {text-decoration:none;color:#cc0000}. Unfortunately, however, it too did not work.
1 comments
Hmm, it should have. Awwe :( I don’t know how to help you any further. Sorry
Answer 515b42af77d4b2f3f30004eb
thanks for your response, Khadirah. When I was looking over the differences between your answer and mine, I noticed I had forgotten to close one of my curly brackets. that made the difference. Thanks so much.
Sandra
Answer 5158cd47e44dcbd4c1000176
You put the text-decoration and color property and values under the ‘img’ selector. It is supposed to go under its own selector which is the ‘a’ which is from ‘a href’. It will look like this: a { text-decoration:none; color:#cc0000 } I hope I helped :)
2 comments
thanks for help ..i also having same problem …thanks frnd
You’re welcome :)
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
OMG THANK YOU SO MUCH I spent an hour trying out different ways and this was the best way!!!!