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

HTML How to Make a Website Creating HTML Content Include External CSS

Jenny Marchal
Jenny Marchal
1,486 Points

normalize.css file does not download as a file

When I download the normalize.css file it downloads as a web page on safari not a file. When I save it to my desktop and drag it to my workspace it shows up but no information comes up when I click on it? Why is it not downloading as a file?

have you done as instructed? are you mac or windows? i work on mac and no problem here

Please tell us the operating system you are working on and the exact steps you are taking to download the files.

I don't know why it doesn't download as a css file in Safari, but I can give you a few answers for how to deal with the problem:

  1. After saving to your desktop, change the file extension from .webarchive to .css. You may then have to delete a bit of gobbledygook on the very top line before it works.

  2. Instead of saving to your desktop, copy and paste the code into a new css file you create in your editor/workspace

  3. I think the best thing to do is to use a different browser. Chrome, for instance, will definitely give you a clean css file when you save to your desktop.

3 Answers

Kevin Korte
Kevin Korte
28,149 Points

What I do/did when it opens a new web page is cntl+a than cntl+c, cntl+n, cntl+v, which basically just copy and pastes the entire file into a new one on my system. I just name that file normalize.css

Kern Tallett
Kern Tallett
10,012 Points

In Safari, right click(two finger click or CTRL-click on mac) on the download button and click save linked files to download. This will download the normalize.css

Jenny Marchal
Jenny Marchal
1,486 Points

Kevin, I did that and it worked so thank you :) And thank you to everyone who responded much appreciated!

Kevin Korte
Kevin Korte
28,149 Points

You're welcome, you may stumble across that "download" style once in a while, and I always find it fastest to just copy an paste the code into an empty file on my computer.