CSSmania gadget
Friends

 
Choose your language!
Bookmarking
Main » Articles » Website Details
Submitted by:host at: 7/27/2007 under: "Articles".
1. Specificity determines, which CSS rule is applied by the browsers. 2. Specificity is usually the reason why your CSS-rules don’t apply to some elements, although you think they should. 3. Every selector has its place in the specificity hierarchy. 4. If two selectors apply to the same element, the one with higher specificity wins. 5. There are four distinct categories which define the specificity level of a given selector: inline styles, IDs, classes+attributes and elements. 6. You can understand specificity if you love Star Wars: CSS Specificity Wars. 7. You can understand specificity if you love poker: CSS Specificity for Poker Players 8. When selectors have an equal specificity value, the latest rule is the one that counts. 9. When selectors have an unequal specificity value, the more specific rule is the one that counts. 10. Rules with more specific selectors have a greater specificity. 11. The last rule defined overrides any previous, conflicting rules. 12. The embedded style sheet has a greater specificity than other rules. 13. ID selectors have a higher specificity than attribute selectors. 14. You should always try to use IDs to increase the specificity. 15. A class selector beats any number of element selectors. 16. The universal selector and inherited selectors have a specificity of 0, 0, 0, 0. 17. You can calculate CSS specificity with CSS Specificity Calculator.
RSS: Latest website's posts
Loading
Related tags:CSS Specificity: An Overview
This page was viewed: 178 times.
Click to tag: post<li>
Comments
Post Comment
Post Comment
Loading...
Search for a website

Search

About

This site is a project of:

NukeDesigners | W3C valid skins for dotnetnuke portal.

Developer of the "webskingraft" multi valid skins package:

Demo website:

Nukedesigners/webskingraft

How to participate

Welcome to Nuke notes! (Beta).

You're invited to submit, share and view others bookmarking.

In order to do that all you have to do is join as a member to this web site. (Here).

If you're already a member you can log in here.

After short registration process you will have a role to submit your bookmarking.

Submitting is very simple: you will need to fill a few fields:

The Url of the web site, a title (anchor), description ( as long as you wish) and the url of a RSS from that website.

Please do not use the "update and upload images" option , since we do not use images in the template. (We're using "snap" for that; move your mouth hover a link and you'll see the website's image "live".)

you're welcome to suggest any new web site "type" or "sub type". Also if you have any other idea please let us know.

you can use the form at the contact tab for that.

Thanks.

20 Most popular/viewed
Latest added