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 trialKevin Maldjian
1,162 PointsWebsite is not looking like the example.
So I have been following along and everything seemed to be working until we added the two columns and the margins, for some reason the code is not working. I must have messed up something along the way however I do not have enough experience coding in HTML or CSS to find the problem.
Here is a snapshot of my workstation.
Thank you.
2 Answers
Max Kutner
7,595 PointsHi,
Are you referring specifically to the footer appearing in a bad spot? I added some display and width rules which fixed that.
footer {
font-size: .75;
text-align: center;
padding-top: 50px;
color: #ccc;
display: inline-block;
width: 100%;
}
Also, for the nav items, they'll need to be called with the selector 'nav li' in order for certain styles to appear. Hope that helps!
Best, Max
Faith Pena
4,025 PointsI'm having the same issue. My code looks just like yours.
rydavim
18,814 Pointsrydavim
18,814 PointsI've changed your comment to an answer so that it may be voted on or marked as best answer. I've also added some code formatting. You can do this using the following markdown.