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

General Discussion

Styling web pages and navigation

I have made a footer and page: portfolio comment and placed the css rules underneath. But I am not sure where to put it on the main.css page. First I put it under navigation and then under colors. But the images will not go side by side and the top nav links have a grey background.

4 Answers

Hi Carol, You should have two files: one for html and one for css. Then you have to link them together in the html head. If you can post your code,that will help to let us know where you went wrong.

Thanks Diane I have sorted it now but not sure how to post code if you could tell me how so I know for the future would be great thanks

You type 3 tick marks then hit return and paste your code, then hit return and type 3 more tick marks

Thanks Diane that has helped a lot