var e=document.getElementById("controlId");
//返回级联样式表中设置的样式,为只读的,不能设置
//注意:CSS API中的getComputedSystle并非所有的浏览器都支持
var st=window.getComputedSystle(e,null);