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 Styling Web Pages and Navigation Make a CSS Image Gallery

matthewroller
matthewroller
2,159 Points

Question ID #gallery

Hello, I have a question to set the ID to gallery, then remove the margin, padding, and bullet-points.

Heres my code, and it won't let me proceed saying "Make sure you set the margin on all sides".

gallery

margin: 0px; padding: 0px; list-style: none;

Can someone help me please?

2 Answers

Sreng Hong
Sreng Hong
15,083 Points

Did you forget to your pound sign on gallery?

It's working find for me and it should be like this:

#gallery {
  margin: 0px; padding: 0px; list-style: none;
}
matthewroller
matthewroller
2,159 Points

Hello Sreng, thank you for replying, i totally forgot the # sign! Thanks, i'm working on it today :)