.titleLabel {
<!-- font-weight: bold;-->
font-size : 15px;
color : #4f4f4f;
top : 20px;
}label_var.style.cssText ="top:15px";
label_var.className = "titleLabel";请问是不是哪儿不对那、、、
1 回答

weibo_Highness学
TA贡献7条经验 获得超2个赞
使用jquery吧
$(label_var).addClass("titleLabel"); $(label_var).css("top", "15px");
添加回答
举报
0/150
提交
取消