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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Where is the default css style sheet for Firefox 5 on a Mac?

  • 7 antwoorde
  • 11 hierdie probleem
  • 9 views
  • Laaste antwoord deur dorayme

more options

Modern browsers usually have a stylesheet that operates to display webpages (where, for example, the author provides no styles). Where is it?

Modern browsers usually have a stylesheet that operates to display webpages (where, for example, the author provides no styles). Where is it?

All Replies (7)

more options

profile folder/chrome/userContent.css

more options

Thanks but no, could not be this since all that userContent.css has is one rule to ensure body text is normal (as set in users preferences). There would surely have to be a really big stylesheet somewhere that tells the browser, in the absence of author rules, many other things, like for instance what colour the text should be, how big various level headings are. This sheet operates even when there is no author styling and likely when one disables styles altogether.

more options

No one in the community knows the answer of where the basic stylesheet is?

more options

Use these URIs to see them in a browser tab:

resource://gre-resources/html.css
resource://gre-resources/quirk.css

You can find them in the omni.jar archive in the Firefox installation folder.

  • omni.jar/chrome/toolkit/res
more options

Yes, thanks, the following gets them:

"resource://gre-resources/html.css resource://gre-resources/quirk.css"

but

"You can find them in the omni.jar archive in the Firefox installation folder. omni.jar/chrome/toolkit/res"

No idea how to see this latter, how do you get to see what is in omni.jar?

more options

The file omni.jar is a ZIP archive in the Firefox installation folder that stores a lot of the extra (chrome) files that Firefox uses. In previous Firefox versions those files were separate files on disk, but those files were moved to one large ZIP archive that has an optimized file order to load the files in it as quickly as possible during the start up. If you want to inspect files in that archive and your file manager doesn't allow access directly than make a copy of the file and add a .zip file extension.

You can open that archive file and browse to the /chrome/toolkit/res folder.

more options

Thanks, yes, that's good.