Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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;
}