- 博客(2)
- 收藏
- 关注
原创 使用div的float样式时,div的parent 的height属性是0
https://stackoverflow.com/questions/5369954/why-is-my-divs-height-zero
2017-11-08 19:24:24 362
原创 使用js设置element的属性
对于html 元素的属性使用setAttribute 如果要设置样式属性,需要这样写: set.setAttribute("style","height :" + hei + "px"); 而不能这样写: set.setAttribute("height" ,hei + "px");
2017-11-08 19:21:05 3741 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人