UserContent.css

From MozillaZine Knowledge Base
Revision as of 14:32, 14 March 2006 by Mozcerize (talk | contribs) (added info about chromedit extension)
Jump to navigationJump to search

userContent.css in the chrome folder is a CSS file that can be used to change the way web sites look. This file does not exist in a new profile; it can be created manually.

Editing

This file is designed to be manually edited using a text editor. Anything valid in a CSS file is valid in this file. The application must be restarted for changes to take effect (to get around this, you could use the Stylish extension). For sample styles, see:

Moving

This file can be moved to a different profile. If it contains imports or references to other files such as images, these files should be moved along with it.

Deleting

Deleting userContent.css will get rid of any user styles defined upon restart.

Related files and folders

External links

  • The ChromEdit extension provides a convenient way of editing the configuration files described in this article.