Minimum height of a div container

You can set minimum height of a div container which is supported in most of the modern browser but the IE6 or older doesn’t support this feature. To make it working in IE6 you need a small hack in css, see the following styles of a div

.divid{
min-height:350px;
height:auto !important;
height:350px;
}

this div will now have a minimum height of 350px.

Advertisements
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s