How to put two div side-by-side of the same height by Jquery and Css
<script type="text/javascript">
$(window).on('load',function(){
var ctntHeight = $("#contentBox").outerHeight();
$("#sidebar").css('min-height', ctntHeight);
});
$(window).on('load',function(){
var ctntHeight = $("#contentBox").outerHeight();
$("#sidebar").css('min-height', ctntHeight);
});
Comments
Post a Comment