Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMegan Porter
1,663 Pointsremoving text decoration from a link
I tried:
a:hover { text-decoration: none; }
and also putting it inside of the paragraph. Each time it tells me to check the text-decoration. What am I missing?
1 Answer
Aurelian Spodarec
7,369 PointsHi,
What Sherish Banu said .
it should look like
p {
text-decoration:none;
}
if this is for a paragraph , it should remove all the links decoration in it . The color will be the same i think cant remember , so you put the color what you want so
p {
text-decoration:none;
color:black;
}
but in hex code with is i think 999999 with the phone number at the start , cant show it on mac .
Hope this helps , tell me if it works, if not , ill find a way.
Megan Porter
1,663 PointsThanks for your help. I guess what I was looking for was
a:link { text-decoration: none; }
Aurelian Spodarec
7,369 Pointsif its for a link then yes, It depends what you mean by having a decoration a bit . and how its build.
sherishbanu
9,799 Pointssherishbanu
9,799 PointsYou are removing text decoration from a link, when link is hovered. Remove the pseudo class hover.