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 trialMichael Thompson
1,273 Pointsmargin and padding
how do you Select the element with the ID gallery. Then, remove the margin, padding, and bullet points.
4 Answers
Andrew Shook
31,709 PointsYou need to put:
#gallery{
}
And then put the code for the padding, margins and list style inside of it.
Jacob Mishkin
23,118 Pointsto select the ID gallery use #gallery In order to help you with the rest of your question we will need to see the code your working on. If you want to remove the bullet points for a list item you can use ul { list-style: none; } this will remove all the default style for list items. Just upload your code and I'm sure we can help you out more.
Jean Paiva
7,128 PointsTry this:
#gallery {
margin: 0;
padding: 0;
}
#gallery ul {
list-style: none;
}
Andrew Shook
31,709 PointsWell if you're going to just give him the answer its actually this:
#gallery {
margin: 0;
padding: 0;
list-style: none;
}
Muizzuddeen Ma'aji
Courses Plus Student 9,649 Pointsgallery{
margin:0; padding:0; list-style:none; }