Struggling to adjust the height of one div to match another using the following code:
var aboutheight=document.getElementById('about').offsetHeight;
document.getElementById('sampledogs').setAttribute("style","height:aboutheight");
Despite my efforts, the heights just won't synchronize! Can anyone provide some guidance?
Appreciate any assistance!