JS设置控件CSS:cssText

全部设置:?
obj.style.cssText=”border:1px solid #f00;font-size:14px;color:#f00;height:100px;”;
?

?单个设置:
obj.style.display=”none”
?obj.style.color=”FF0000″;
obj.style.marginTop=”50px”;
obj.style.fontSize=”14px”;
vtr.style.cssText = “background-color:yellow;”;
obj.style.backgroundColor = “yellow”;