Sublime Forum

Some files will only save as a Safari Document

#1

Hello Everyone. I am very new to coding, so please be patient with me.

I am currently on a Mac using Yosemite. I am using Sublime 3.

I have created an HTML file with a link to a css file. Every time I try to save the Css file, however, the file is saved as a safari document.

The HTML file is saved as a google chrome document and opens up in both firefox and chrome as expected, however, the css file is not linked to the display.

As soon as I type the “.css” after the name of my file, it automatically locks the file into a safari document and doesn’t give me any options to change it.

Does anyone know what the problem may be?

0 Likes

#2

The “Safari Document” is just the system telling you what the default application is for opening that file type. It has nothing to do with the file type itself, and you shouldn’t worry about it. For example, you can change your default browser to anything you want, and the system will tell you it’s a “Firefox Document” or a “Chrome Document” or whatever, but the whole time it’s an HTML file. Does that make sense?
If your css isn’t working in your HTML file, you may be linking to it wrong. Did you try out the inspector?

0 Likes