!important

windows

Guest
What does the !important statement mean in CSS scripts. I saw it on one page but couldn't figure out what it meant. Thanx.:confused:A suggestion might be to post a link to a page that uses this coding.

With that we can see the page and code in context.Haven't seen you for a while Pete, nice to see you again. The "!important" statement basically means the statement within the CSS takes precedence under the cascading rules, however if you want a more detailed explanation then visit the World Wide Web Consortium (W3C) <!-- m --><a class="postlink" href="http://www.w3.org/Specifically">http://www.w3.org/Specifically</a><!-- m --> you should read this part (and you need to read the whole section if you really want to understand how and what !important does)


<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/cascade.html#cascadeThanks">http://www.w3.org/TR/REC-CSS2/cascade.h ... cadeThanks</a><!-- m -->! I saw it on <!-- w --><a class="postlink" href="http://www.brainjar.com">www.brainjar.com</a><!-- w --> when I was viewing his awesome menu script.Originally posted by Robert Wellock
Haven't seen you for a while Pete, nice to see you again. The "!important" statement basically means the statement within the CSS takes precedence under the cascading rules, however if you want a more detailed explanation then visit the World Wide Web Consortium (W3C) <!-- m --><a class="postlink" href="http://www.w3.org/">http://www.w3.org/</a><!-- m --> his been busy moderating his forum :p
 
Top