!important makes the the widget's styles take precedence, but you also
have to take specificity into account. I created a test page to
demonstrate the issue:

http://ff6600.org/j/specificity.htm

There are ways to calculate specificity, take a look at these very
nice articles about it:
http://www.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/
http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html
http://juicystudio.com/article/selector-specificity.php

- ricardo

On Jan 19, 4:13 pm, johny why <johny...@gmail.com> wrote:
> wileyluxe wrote:
> > Depending on how the rest of the selectors are written, a Body ID will
> > do overwrite it.
>
> wileyluxe, can you give an example of how a site-css Body ID can
> overwrite the widget-css, if the widget employs !important + id's/
> classes?

Reply via email to