Home › Forums › CSS › Help to make layout 100% height › Re: Help to make layout 100% height
May 13, 2013 at 12:51 am
#134875
Historical Forums User
Participant
Not work to me :(
$(document).resize(function() {
if ($(‘#sidebar’).height() < $(document).height()){
$(‘#sidebar’).css(‘height’, $(document).height()+’px’);
}
if ($(‘#content’).height() < $(document).height()){
$(‘#content’).css(‘height’, $(document).height()+’px’);
}
});