hi, i'm having the following markup using 2 divs. the #child div has set position:absolute;
+------------------------------+
| +----------+ |
| | #child | |
| +----------+ |
| |
| |
| |
+------------------------------+
i want to change the child's height by code so that it always auto-sizes to its container like this:
+------------------------------+
| +----------+ |
| | #child | |
| | | |
| | | |
| | | |
| +----------+ |
+------------------------------+
is there a default function for it? thx