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 What is CSS?

CSS not working.

I opened the file to downloaded CSS, but when I opened CSS in Workspace it says "No preview available for the file". Can someone help me?

Thong Tran
Thong Tran
8,713 Points

you can preview a document (html file) but not css file. The css file itself does nothing more than adding style effect to the document (html file)

1 Answer

Michael Fish
Michael Fish
7,804 Points

Hello Hairo,

Your question is a bit vague but I am guessing since you are in the beginning of the course that maybe you are unfamiliar with workspaces. If you open workspaces and click the index.html file or main.css file it should allow you to view the file. If this isn't the problem try explaining the problem a different way so I can help you. Hope this helps!