Home › Forums › CSS › how do i dynamically set the height of a div to another div? › Re: how do i dynamically set the height of a div to another div?
August 7, 2009 at 2:33 pm
#61839
falkencreative
Member
One other option: use a bit of javascript. This example works in Firefox, but you’d better test in other browsers since I’m not really a Javascript expert:
Code:
dfsfsdf
dfsfsdf
dfsfsdf
dfsfsdf
dfsfsdf
dfsfsdf
dfsfsdf
dfsfsdf
right contentsdfadf asdfa fda dfa fdasfdsafafdad fda dfa dfa f
This sets both left and right divs to the same height, and then positions a div inside the right div at the bottom.