UserContent.css: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary
 
(unredirect and write it up)
Line 1: Line 1:
#redirect [[UserChrome.css and userContent.css]]
{{profile-file|filename=userContent.css}}
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.
 
==Editing==
This file is meant to be edited manually. 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 [https://addons.mozilla.org/extensions/moreinfo.php?id=2108 Stylish extension]). For sample styles, see:
* [http://userstyles.org userstyles.org]
* [http://www.mozilla.org/support/firefox/tips#layout Firefox Help: Tips & Tricks: Web Page Appearance]
* [http://www.squarefree.com/userstyles/ User Styles at squarefree.com]
 
==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==
* [[userChrome.css]]
* [[userChrome-example.css]]
* [[userContent-example.css]]
 
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Thunderbird)]]
[[Category:Profile contents (Mozilla Suite)]]

Revision as of 19:10, 22 February 2006

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.

Editing

This file is meant to be edited manually. 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