color: none effect in CSS to prevent override -


update (problem): once application pushed dev server, asp includes inject styles override actual custom coded needed styles. 1 instance below, wrapper div tag overrides styled <a> tags , links within. quick use none !important on css color module. disabling resolves correctly. now, can jquery or (can move tag classes <head> !important , override. wondering thoughts or hacks using or getting 'none' effect in type of scenario, all.


let's situation / environment out of hands.

and must override style.

say trying override color assigned div. below valid / work? there alternative. defining color not possibility override other <a> tag colors.

#hugewrapperdiv {     color: none !important; } 

no, won't work. ignored because none invalid value color property.

depending on you're trying achieve, set transparent/inherit/initial.

these values self-explanatory. value inherit cause element inherit computed value of color property parent element. value initial set color browser's default color (likely specified in user agent stylesheet). it's worth pointing out initial value isn't supported in browsers.


Comments