I have divs structured like this:
<div id='head'>
<div class='graphData'>
<table>...</table>
</div>
<div class='graph'>...</div>
</div>
EDIT:
Sorry, I forgot to several important parts of the structure.
head
, graphData
and graph
all have their min-heights
set to 300px.
My problem is how do I change head
and graph's
min-height to match graphData's
min-height when graphData's
min-height increases or decreases? Any way to detect a css style change via jQuery or javascript?
graphData's height changes because of dynamically generated rows from my DB.