且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么会导致 height() 返回负值?

更新时间:2023-11-26 16:41:16

把代码放在里面,同时确保 min-height 设置为 element 大于或等于实际高度;

Put that code inside and also make sure min-height set to element is greater or equal than actual height;

$(document).ready(function(){
    //your code
});