Return to Snippet

Revision: 27625
at June 18, 2010 00:53 by mennyj


Initial Code
.minHeight {
	min-height: 200px; 
	height: auto !important;
	height: 200px;
}

.minWidth {
	min-width: 200px; 
	width: auto !important;
	width: 200px;
}

.maxHeight {
	max-height: 700px;
	height: auto !important;
	height: expression( document.body.clientHeight > 700 ? "700px" : "auto" );
}

.maxWidth {
	max-width: 700px;
	width: auto !important;
	width: expression( document.body.clientWidth > 700 ? "700px" : "auto" );
}

Initial URL


Initial Description
[via rtcrm]

Initial Title
Min/Max-Height/Width Workaround for IE

Initial Tags
css, ie, html

Initial Language
CSS