<style>a { color:#00F}.font1{ color:#F00}</style><div class="font1">sfsdfsfsfd <a href="javascript:void(0)" onclick="C_style(this)">点击取消父级样式</a></div><script>function C_style(e){ e.parentNode.className="" }</script>