can we override inline css through javascript? with IE6 compatibility.
I found this pure css solution but not works in IE.
http://nataliejost.com/override-inline-styles-from-the-stylesheet/
http://www.sitepoint.com/blogs/2009/05/27/override-inline-css/
<div class="block">
<span style="font-weight: bold; color: red;">Hello World</span>
</div>
we can override this inline style with this solution
.block span[style]{
font-weight: normal !important;
color: #000 !important;
}
This solution work in all major browser except IE6.