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.


Problems with main.css and tag in CSS main

Hi folks,

I've finally downloaded main.css and normalize.css into the workspaces though none of them seem to working. The page look like there are no CSS at all. The links in index.html look right I've tried in Chrome and Mozilla.
Plus few tags such as this one bellow highlighted with red, like there are something wrong

gallery li a p {

margin: 0; 
padding: 5%;
font-size: 0.75em;
color: #bdc3c7


3 Answers

well, I've found out why it was highlighted with red, though the problem with formatting still exists as was described.




<link href="main.css" rel="stylesheet">
it is linked like this

<link href="main.css" rel="stylesheet">