jquery 设置css margin-left

$("#box").css("marginLeft",val);

$("#box").css({"margin-left": val, "background-color": "blue" });