BreakPhreak BreakPhreak - 3 months ago 23
CSS Question

Is there a (polyfill) code that resets all the inherited CSS properties on a given element?

The subject says it all. Looking for a (polyfill) code that will reset all the inherited CSS properties on a given element (such as

<img>
,
<a>
or
<p>
).

Answer

May be you can use HTML5 boilerplate or css Reset to reset all the inherited CSS properties.

check these articles http://html5boilerplate.com/ ,

http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/