I have a div that have a 50% of screen's width. inside of it I want to make four squares:
<div style="width:50%">
<div style="width:25%"></div>
<div style="width:25%"></div>
<div style="width:25%"></div>
<div style="width:25%"></div>
</div>
but I don't know how to calculate of height of them. I don't want to use js
.