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.

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!