Prevent CSS Inheritance
问题 I am trying to write a jQuery plugin that can be ported to any site. What my plugin does is create a div and applies a style to it. It works well in standalone but when I put it into the context of a site, there is a css class that it is inheriting from. The thing is, I can't modify the web site's existing CSS... so I need a way to "prevent inheritance" (which I know is technically not possible). I have tried the !important flag on the specific styles that are causing problems, but to no