1 $(div).css(
2 {
3 border: "1px dashed #ccc",
4 padding: "5px",
5
6 padding-left: "10px" ,
7 position: "absolute"
8 })
这样中间的padding-left属性会报错,删除了在下面用单个.css("padding","10px")就OK了2 {
3 border: "1px dashed #ccc",
4 padding: "5px",
5
6 padding-left: "10px" ,
7 position: "absolute"
8 })
1.2.1的版本.