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

HTML How to Make a Website Styling Web Pages and Navigation Style the Portfolio

My type is still grey, not green, and bullets remain, despite list-style: none.

Things are starting to go off the rails. On the video, the bullets disappear when the list-style: none is inserted. On my site, it's all still there. I've also had to make the width not 45%, but 41%, so it all fits.

Jack Spangenberg
Jack Spangenberg
643 Points

Can you link us your workspace to see your code?

Workspace ... https://w.trhou.se/1qm2fszaxk Also, when I add the clear: both in the footer section, nothing happens.

2 Answers

Jack Spangenberg
Jack Spangenberg
643 Points

First off, your CSS for the footer element is wrong. You need to use curly braces instead of ().

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;
}

Try adding the same class to your ul and li for the gallery and add this:

  list-style-type: none;

"list-style: none" shoud be also applied to <li> elements, not only to <ul>, like on video.

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

li {
  list-style: none;
}