DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   !important css (http://www.daniweb.com/forums/thread62740.html)

chunkmartinez Nov 26th, 2006 2:52 am
!important css
 
Can anyone tell me what !important does, or means, in Css.
Ive tried googleing it but i got nothing!

katarey Nov 26th, 2006 3:46 am
Re: !important css
 
hi,

!important is not a property nor is it a value. It's more of a "declaration". Its function is to set overriding precedence when there are conflicts in properties between competing classes.


see this:
http://www.w3.org/TR/REC-CSS2/cascad...mportant-rules
http://www.evolt.org/article/Ten_CSS...know/17/60369/
http://www.soxiam.com/Code/UsingImportantRuleInCSS

chunkmartinez Nov 26th, 2006 4:03 am
Re: !important css
 
Hey THANX!!


All times are GMT -4. The time now is 8:30 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC