Add a browser user style sheet

Source: Internet
Author: User

As the Web Front-end knows, there are three sources of CSS

1. User Agent stylesheet default CSS user agent (that is, the default CSS browser, http://www.cnblogs.com/xesam/archive/2011/12/01/2270553.html)

Ii. Author style sheets CSS defined by developers (external-style, Embeded-style, inline-style written by front-end developers)

3. User style sheets custom CSS (written by the user)

Priority increases from top to bottom

User Agent stylesheet

User declarations (normal)

Author declarations (normal)

Author declarations (! Important)

User declarations (! Important)

The first two methods may be used more often, and the third method won't be set by the average person, but developers won't set them. However, as a learning method, When you personalize your browser or the whole person, it can be used.

It is best to add it during testing! The suffix of important.

Firefox:

Menu-> help-> troubleshooting information-> application basics-> open the folder

Will open the style sheet like Firefox \ profiles \ templates, define your own CSS in it, and restart Firefox to take effect (this is also the most speechless place in Firefox)

Chrome:

For win7 users, the User-Defined style sheet is in the form of c: \ Users \ Xe \ appdata \ Local \ google \ chrome \ User Data \ Default \ User partition, write custom CSS. For chrome, it can take effect immediately, and refreshing is free of charge.

 

Opera:

Menu> Settings> preferences> advanced> content> style options> my style sheets

It seems that you don't need to restart, but restart the system to make sure that you have enough insurance.

IE:

Menu> Internet Options> General> auxiliary functions

In the example of ie9, the setting takes effect immediately, but it is different from that of chrome to save CSS files.

Safari (WIN ):

Menu (settings)-> preference settings-> style sheet

Save and take effect.

reprinted please indicate from the West Hills [http://www.cnblogs.com/xesam/]
address: http://www.cnblogs.com/xesam/archive/2011/12/08/2280707.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.