Wednesday, November 12, 2008

What is the default height of a div if I do not specify?

The default is auto. The browser calculates the actual height.

If there is control in this div, then the height will be adjusted to fit this control in.

If there is no control in this div, then the height is a standard height which can fit a label in.

No comments: