I think you misunderstood what I meant with my post. What I am trying to say is that I don't need a height attribute of any value on my page unless there is a way to make it collapse to zero and grow as needed. If I use any fixed height value the div stays that large and then scrolls after that.
MAybe I did misunderstand, sorry. The way I have my page is when I perform a dynamic search, and 20 rows are returned in a dynamic table then it doesnt need or contain a scroll bar. If the results are returned and there are more rows than the div will allow, then the scroll bar will be utilized. Maybe post your code and explain again what you want, or post a site that contains the exact thing you're looking for. Sorry again for the misunderstanding. Good luck.