Tuesday, May 11, 2010

Element weight in css

Never know this before, when css is rendering for a page, it actually calculating point to determine override rule.

HTML = 1 point
CLASS = 10 points
ID = 100 points

More on: http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specificity/

No comments: