I need a code that is something like:
<div style="templateCSS:none">Content that has mysterious WordPress template CSS applied on it</div>
I don't want to override it with another inline style, I just want everything removed.
I need a code that is something like:
<div style="templateCSS:none">Content that has mysterious WordPress template CSS applied on it</div>
I don't want to override it with another inline style, I just want everything removed.
I suppose you can use the CSS3 keyword initial
for every property of the element. Something like this:
<div class="reset-style">Content that has mysterious WordPress template CSS applied on it</div>
.reset-style{
margin : initial;
margin-bottom : initial;
margin-left : initial;
margin-right : initial;
margin-top : initial;
/* All the css properties*/
}
Check this answer: Reset/remove CSS styles for element only