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

CSS How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Simona Diarrova
Simona Diarrova
5,654 Points

Use ID Selectors

I am working in workspaces and any of the CSS rules I am writting in my main.css are not showing in the browser. Main.css is linked with html, and it's placed in CSS folder together with normalize.css.

Did anybody has the same problem? Thank you for response.

4 Answers

Adama Sy
Adama Sy
7,076 Points

I left workspace and keep using sublime text. Sometimes you have to make sure when you are actually saving files, they are updating in the folder you targeted. Sometimes after switching between text editors , things start to save wherever they want and not where you think they should be. Go back and select save as, and make sure its saving in the same folder.

Jean Paiva
Jean Paiva
7,128 Points

Check the link to "main.css"

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

And this link must to be below the "normalize.css" link.

If still didn't change anything, check the CSS RULE.

Simona Diarrova
Simona Diarrova
5,654 Points

Thank you Jean but I already checked my links and CSS rule as well. It still doesn't work!

Jean Paiva
Jean Paiva
7,128 Points

This days my main.css file wasn't saving, so I copied all code and I deleted the file, then I created another main.css file, after this the file is running normally.

Maybe this can help!

Simona Diarrova
Simona Diarrova
5,654 Points

Yes. I think there are some problems in functioning of the workspaces. I left workspaces and am using text editor sublime text 2 now.

Simona Diarrova
Simona Diarrova
5,654 Points

Thanks Adama. I left workspace and am using sublime text now.