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 trialBrandon Ray
8,404 PointsBullet points won't disappear?
I've given an id to the "gallery" section ( <ul id="gallery">) and added the following CSS:
#gallery { margin: 0; padding: 0; list-style: none; }
However, my images are still showing up with bullet points. Can anybody help me out?
2 Answers
Steven Parker
231,141 PointsIt's all clear now that the entire code can be seen. On line 101 of the CSS (6 lines above the "#gallery" rule), there is a stray vertical bar ("|
") character. This causes a syntax error that invalidates the following rule.
Just remove the stray "|" and the rule should be effective.
Steven Parker
231,141 PointsThat CSS line should do it, are you sure it's being included (linked to the proper page)?
Since the CSS is good, something else must be interfering. You can share everything at once if you make a snapshot of your workspace and provide the link to it.
Brandon Ray
8,404 PointsI tried to follow the example pretty closely...here's a current snapshot of my workspace:
Thanks for the help!
Brandon Ray
8,404 PointsBrandon Ray
8,404 PointsAhh, I knew it was something silly like that. Thanks so much!