var btmHeight = $(".bottomBox").height(); $(".footerImgList").css("height", btmHeight); $(".footerImgList").height(btmHeight); $(".footerImgList").css("height", btmHeight - 30); $(".footerImgList").height(btmHeight - 30);
jQuery自动获取的高度怎么赋值给元素
var btmHeight = $(".bottomBox").height(); $(".footerImgList").css("height", btmHeight); $(".footerImgList").height(btmHeight); $(".footerImgList").css("height", btmHeight - 30); $(".footerImgList").height(btmHeight - 30);