!important





6
Date Submitted Mon. Jun. 5th, 2006 8:53 PM
Revision 1 of 1
Coder mattrmiller
Tags !important | CSS | IE | Ignore
Comments 1 comments
Normally in CSS whichever rule is specified last takes precedence. However if you use !important after a command then this CSS command will take precedence regardless of what appears after it.


margin-top: 3.5em !important;
margin-top: 2em;

 

Matthew R. Miller

www.bluecreststudios.com
=================
Matthew R. Miller

http://bluecreststudios.com
http://www.codeandcoffee.com

Comments

Comments CSS Specificity
Wed. Oct. 4th, 2006 9:26 PM    Helper Thomas

Voting