I was wondering if its possible to make the height css value a percentage that uses the parent div (other divs).
In other words:
<div class=wrapper>
<dic class=child>
<div class=the_childs_child>
</div>
</div>
</div>
So, say I have a height value of 50% on the_childs_child: originally, that would be 50% of the child div but could I make it 50% of the wrapper (or a different) div?
No % is relative depending on the parents height. If you want to set it based on some other div you will need to get that div’s height then set it accordingly using something like jQuery