1.行内样式写法,简单举例
<a href="#" style="display:block; height:100px; width:100px">aaa</a>
2.外联样式写法
<style type="text/css">
<!--
.a {display:block; height:100px; width:100px}
-->
</style>
<a href="#" class="a" >aaa</a>
3.动态样式:
document.getElementById("a1").setAttribute("class","J_labelBtn label-btn");