Is it possible to set flexible height?
For what purpose? Elements already have flexible height. And there's also min-height in CSS2.
If you don't have a height set, then it will be flexible, and expand and contract with content in it.
You weren't clear at all with what you meant so I'm taking a shot in the wild with this