letle 发表于 2013-2-7 16:45:01

使用JavaScript取得HTMLElement的属性要点

转自:http://hi.baidu.com/beanchx/blog/item/243b38f326695e53342acc49.html OffsetProperty .offsetTest{   margin:1px;   border:1px solid #000;   padding:3px;   position:relative;   left:20px;   top:20px;   z-index:5;   width:500px;   height:300px;}

<div class="offsetTest">
页: [1]
查看完整版本: 使用JavaScript取得HTMLElement的属性要点