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 trial

CSS How to Make a Website CSS: Cascading Style Sheets Style the Basic Elements

Ryan Wholey
Ryan Wholey
1,414 Points

First post! removing underlining from links

Hey! just wanted to see what this discussion function was like. I'm having some minor trouble removing the underlining from my text links. attempts have included: head{text-decoration: none;} h1{text-decoration: none;} html{text-decoration: none;} Thank you for your patience!

1 Answer

Peter Ramsing
Peter Ramsing
16,814 Points

Try

a {
text-decoration: none;
}

Here's a link to learn more CSS Styling Links