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 trialOlalekan Oyedele-Aro
452 PointsRemove the underlines from all the links on the page.
Hi I am sorry I can't find links to remove the underlines
4 Answers
Keri Clowers
4,864 PointsIf you still need help understanding, text-decoration is a CSS property that you can use to underline, overline, strikethrough, etc. text. The reason you need to put 'text-decoration: none' is that the default is for links to be underlined. So even though you didn't specify they should be underlined, they already are automatically. To override it set 'text-decoration' to 'none'.
Hope that helps!
Unsubscribed User
5,512 PointsHey, Olalekan.
To remove the "underlines" from link(s), you can use the CSS text-decoration
property.
a {text-decoration: none;}
Olalekan Oyedele-Aro
452 PointsThanks Stuart, it worked! But I am sorry I don't understand it. Thank you for the fast response
Unsubscribed User
5,512 PointsDon't mention it!
Unsubscribed User
5,512 PointsGreat info, Keri. 1 up for you!
Keri Clowers
4,864 PointsHey, thanks!
Olalekan Oyedele-Aro
452 PointsOlalekan Oyedele-Aro
452 PointsTnx Keri great explanation cheers!
Olalekan Oyedele-Aro
452 PointsOlalekan Oyedele-Aro
452 PointsTnx Keri great explanation cheers!
James Barnett
39,199 PointsJames Barnett
39,199 PointsKeri Clowers - Now that's what I call clearly explaining a line code. Rock on