我有一個簡單的div標籤。你能告訴我如何將文本更改爲'鼠標在'我的onmouseover處理程序?和'鼠標移出'我的onmouseout處理程序?如何更改div標籤的文本
<div id="div1" onmouseover="alert(1);" width="100px" height="200px" border="1">
test
</div>
以及爲什麼width/height和border屬性不起作用?我想將邊框設置爲1像素,寬度= 100像素,高度= 200像素。
謝謝。
什麼是T.他的邊界與什麼有關? – bmargulies 2010-06-05 22:28:18