how to set height css
To set the height of a DIV in CSS, you can simply use the height: xx attribute, where xx is the length, in pixels. This will allow the DIV to grow (or shrink) vertically, according to the content. You can also use min-height if you don't know the height beforehand, but know that you want it to be at least this amount.