How can I get one height of one div and the second div/aside will get the height of the first div. Something like that:
<script>
var y = document.getElementById("div1").style.height;
document.getElementById("div_aside1").style.height= y;
document.getElementById("div_aside2").style.height= y;
</script>
<body>
<aside class = "a_left" id="aside1"><div class="a_left" id="div_aside1"><p></p></div>
</aside>
<aside class = "a_right" id="aside2"><div class="a_right" id="div_aside2"><p></p></div>
</aside>
<div class="center" id="div1">
</div>
</body>