Working with CSS styles sometimes is a pain. Need to know how exactly the styles are applied to each control. One of my friends (Rohit Raj) pointed me to this blog. This blog very well explains the style precedence in CSS.
http://www.vanseodesign.com/css/css-specificity-inheritance-cascaade/
This document very well explains the three important aspects that control which style needs to be applied to a control.
- Specificity Calculations
- Inheritance
- The Cascade
No comments:
Post a Comment