Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i 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.

Læs mere

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 svar (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.

Ændret af KirkGregor den

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.