Click to See Complete Forum and Search --> : !important


Zach Elfers
11-20-2002, 11:41 PM
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:

Compguy Pete
11-21-2002, 03:58 AM
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.

Robert Wellock
11-21-2002, 05:25 AM
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) http://www.w3.org/

Stefan
11-21-2002, 05:48 AM
Specifically you should read this part (and you need to read the whole section if you really want to understand how and what !important does)


http://www.w3.org/TR/REC-CSS2/cascade.html#cascade

Zach Elfers
11-21-2002, 01:03 PM
Thanks! I saw it on www.brainjar.com when I was viewing his awesome menu script.

dera
07-05-2004, 05:30 AM
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) http://www.w3.org/ his been busy moderating his forum :p