Fast and simple element (min) height CSS hack

CSS          Trackback

Did you ever make something which looked great in Firefox, and than opend that same thing in IE, and you saw bunch of crap? One of the reasons is IEs lack of support for CSS min-height attribute, and here is fast and simple hack for that. Just use this class for element you would like to have fixed min-height, and your life is going to be much easier.

.minheight {
	min-height: 250px;
	height: auto !important;
	height: 250px;

not only that but you can use as a min-width hack:

.minwidth {
	min-width: 250px;
	width: auto !important;
	width: 250px;

No Comments

Make A Comment

No comments yet.

Comments RSS Feed    TrackBack URL

Leave a comment