检测支持的样式:
alert(document.implementation.hasFeature('CSS','3.0'));
访问行内样式:
alert(document.getElementById('a').style.color);
设置行内样式:
div.style.color="red";
alert(document.implementation.hasFeature('CSS','3.0'));
alert(document.getElementById('a').style.color);
div.style.color="red";