Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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.

Alle antwoorden (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.

Bewerkt door KirkGregor op

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.