Forum Moderators: not2easy
I have a div and I have given it a value height of 850px;
I have created a couple pages that go beyond the 850px;
I would like the div to auto the height if greater then 850px;
I tried:
height:850px auto;
but that didn't work... I did a search but can't find anything. Any insight would be greatly appreciated.
The work around is to create a 1 px hidden div along the right edge that pushes your box open to 850 px, and still allows your content to expand beyond that.
Do a search for css min height hack and you'll stumble upon several examples of how to do it.
[edited by: Gibble at 8:12 pm (utc) on Aug. 2, 2007]
The workaround is pretty efficent and non-problematic though, so you don't really need that if that's t he only thing you want.