Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

I can't use FireFox to browse .CSS files, I just get the FireFox text editor when I open the .css file. How do I get it browse?

more options

I am creating html and css files. The browser will open and I can refresh html files. Not so with css. FireFox will not open the css file so I don't know what the file looks like. I need help. I am trying to tak ea class on the topic and my professor won't help me either. Everyone says to right click the css file and force open it with the browser. It is not working. I can't figure it out.

I am creating html and css files. The browser will open and I can refresh html files. Not so with css. FireFox will not open the css file so I don't know what the file looks like. I need help. I am trying to tak ea class on the topic and my professor won't help me either. Everyone says to right click the css file and force open it with the browser. It is not working. I can't figure it out.

All Replies (4)

more options

If you drag and drop a .css file from Windows Explorer to an open Firefox tab, Firefox should display it as a text file. What happens when you try that?

more options

You can prefix an URL in the location bar with the view-source: protocol to force Firefox to open the file in a tab if you get an open with dialog.

more options

Yes, fireFox will display the .CSS text. It's the browsing that I can't get any browser to do. No matter what. I am beginning to wonder if .CSS files can be seen with a browser. I have not been able to get anything but text. It's not working.

Okulungisiwe ngu KirkGregor

more options

CSS files are plain text with no links, so what you see is all there is.

In order to apply CSS to HTML, you need a <link> tag in your HTML.

If you install the Web Developer Extension from the Firefox add-ons site, there is a handy "Edit CSS" sidebar that lets you play with style rules and see the effects live. Note that this pane is not saved, so if you switch tabs, you lose your changes. Make sure to copy out any changes you want to remember.