If I have the following in my html:
<div style="height:300px; width:300px; background-color:#ffffff;"></div>
And this in my css style sheet:
div {
width:100px;
height:100px;
background-color:#000000;
}
Is there any way, with javascript/jquery, to remove all of the inline styles and leave only the styles specified by the css style sheet?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…