奇怪的css问题 - Web 开发 / Ajax
在练习DIV+CSS时,遇到一个奇怪的问题,看以下代码:
<style type="text/css">#test{width:400px;height:200px;background:#ffcccc;}</style><div id="test"></div><input type="button" value="click" onclick="alert(document.getElementById('test').style.width)" />