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 Style the Image Captions

List-Style Problem

No matter what I did I couldn't remove the bulls for the css off the <a> link in the

gallery {

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

gallery {

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

I tried both but neither worked? Can you explain this?

3 Answers

Ojong Obasi
Ojong Obasi
6,561 Points

'''ul li {list-style:none;}'''

David Omar
David Omar
5,676 Points

Did you forget to add the period before gallery? Use .class for selecting a specific class. Also the gallery class is suppose to be assigned to ul tag

That would only work it I set it to a class. I have the gallery set up as an ID so I have #...

when I post the code the # disappears

gallery {

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

gallery li {

float:left; width: 45%; margin: 2.5%; background-color: #f5f5f5; color: #bdc3c7; }

David Omar
David Omar
5,676 Points

can you post the html portion of the code

How do I put the Code in the comments. It wont recognize it

See

<div id="wrapper"> <section> <ul id="gallery"> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blending modes in Photoshop</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glows.</p> </a> </li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Drips created using Photoshop brushes.</p> </a> </li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Creating shapes useing repetion.</p> </a> </li> </ul> </section> <footer> <a href="http://twitter.com"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://facebook.com/McCombs94"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a> <p>© 2014 Andrew McCombs.</p> </footer> </div>

David Omar
David Omar
5,676 Points

at the bottom above the the post button theres a link that markdown cheatsheet. read it

David Omar
David Omar
5,676 Points

your code isn't showing, post your code between this

//code here...

Fixed it santex error....