2012年2月15日
摘要: 很多时候做一个项目需要定位一个div相对于另一个div的位置可以直接在js里面做,css里面定位的方法太多,我觉得太乱,基本我只用relative absolute 试试拿个可以就用哪个。//function t10() { var div1 = $("<div>"); div1.css("width", "100"); div1.css("height", "100"); div1.css("background-color", "red") 阅读全文
posted @ 2012-02-15 11:55 xinshenghu 阅读(1603) 评论(0) 推荐(0) 编辑