已采纳回答 / stone310
2个地方 1、47,48行 要这么写,px是字符串连接mychar.style.height=30+'px'mychar.style.width=100+'px';2、72行 mychar.removrAttribute("style");拼写错误了,应该是mychar.removeAttribute("style");
2016-08-16