Published in: JavaScript
URL: http://www.webintenta.com/establecer-la-misma-altura-para-dos-columnas.html
function setH() { var maxH = Math.max(document.getElementById('content').offsetHeight,document.getElementById('navigation').offsetHeight); document.getElementById('content').style.height=maxH+'px'; document.getElementById('navigation').style.height=maxH+'px'; } window.onload=setH;
You need to login to post a comment.
