Home › Forums › CSS › Help to make layout 100% height › Re: Help to make layout 100% height
May 13, 2013 at 12:45 am
#134873
Participant
a Jquery alternative
if ($(‘#sidebar’).height() < $(document).height()){
$(‘#sidebar’).css(‘height’, $(document).height()+’px’);
}
if ($(‘#content’).height() < $(document).height()){
$(‘#content’).css(‘height’, $(document).height()+’px’);
}