This thread was archived. Please ask a new question if you need help.
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?
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)
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?
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.
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.
Modified by KirkGregor
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.