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 CSS: Cascading Style Sheets What is CSS?

Chiquita Ferdinand
Chiquita Ferdinand
273 Points

Bullets

I was following along with the tutorial (Building a Website | The CSS ) and once previewed the bullets are suppose the be noticeably gone. I didn't see anywhere in this tutorial that included using "ul {list-style:none;} " so I'm not sure where it's suppose to go.

3 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi Chiquita,

If you follow Nick's work he has a style tag se up on the HTML page. I'm not sure where precisely the code should go in terms of how it affects the cascade but you should put that code somewhere in there.

<style>
ul 
{
  list-style:none;
} 
</style>

I seem to be having the same problem. I've entered the following in the main.css file:

#galleria{
  margin: 0;
  padding: 0;
  list-style: none;
}

Yet bullets are still showing up.

Update:

Challenge Task 2 of 4 - Select the element with the ID gallery. Then, remove the margin, padding, and bullet points.

Here is what I entered:

#gallery{
  margin: 0;
  padding: 0;
  list-style:none;
}

I think removing the space after "list-style:" and before "none" did the trick.

Chiquita, in the index.html file you need to make sure you have the following code:

<ul id="gallery">

Then, in the main.css file, you will enter the following code under the section titled "PAGE: PORTFOLIO":

#gallery{
  margin: 0;
  padding: 0;
  list-style:none;
}