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 trialPeter Erikson
435 PointsMy 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.
Peter Erikson
435 PointsWorkspace ... https://w.trhou.se/1qm2fszaxk Also, when I add the clear: both in the footer section, nothing happens.
2 Answers
Jack Spangenberg
643 PointsFirst 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;
Ivan Olenyn
2,606 Points"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;
}
Jack Spangenberg
643 PointsJack Spangenberg
643 PointsCan you link us your workspace to see your code?