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

wanderley silva
Courses Plus Student 1,140 Pointsi cant remove my underline below my numbers-01 pic .i tryed p{ text-decoration:none } but nothing . can some one help
helo
7 Answers

jacobproffer
24,604 PointsHey Wanderley,
Could you post your HTML mark-up?
In the mean time, try the following:
li {
text-decoration: none;
}

wanderley silva
Courses Plus Student 1,140 PointsCan send my html + css

wanderley silva
Courses Plus Student 1,140 PointsAnd how can send it

Jennifer Wardell
Courses Plus Student 28,346 Pointsits possible you have an anchor tag(<a href=""></a>) and that will also need targeting with your css sheet with "text-decoration: none; "

wanderley silva
Courses Plus Student 1,140 Pointscan send my html code?

wanderley silva
Courses Plus Student 1,140 Points<ul id="gallery"> <li> <a href="numbers-01.jpg"> <img src="numbers-01.jpg" alt=" "> <p><strong> experimentacion with color and texture.</strong></p> </a> </li> /*** this is pice of my code with <P> i can't remove underline of <P> /******************************************************************************************************************* css *************************************************************************************************/
gallery{
margin: 0;
padding: 0;
list-style: none;
text-decoration: none
}
gallery li{
float: left;
width: 45%;
margin: 2.5%;
background: -color:#f5f5f5;
color:#bdc3c7;
}
gallery li a p{
margin: 0;
padding: 5%;
font-size: 0.75em;
color:black;
}

Ben Cohen
3,795 PointsTry targeting "a" and "a:active" and giving them "text-decoration:none".