On 18 Jan., 21:45, johny why <johny...@gmail.com> wrote:
> "a 3rd party widget...should...use...important declarations.
> Nevertheless there is no guarantee that the site's CSS will not
> override styles."
> --why? unless the site css ALSO uses !important, how else could it
> override the candy-css?

Yes, that's exactly it. You obviously cannot prevent a site author to
use !important as well and thus all I was saying is that - especially
from the standpoint of the 3rd party developer - there is no guarantee
the 3rd party's CSS will not be overridden unless an iframe is used
for such widget.

Yet another reason to avoid !important for your site - at least if you
know you want to include 3rd party stuff.

--Klaus


Reply via email to