Return to Snippet

Revision: 324
at July 9, 2006 19:48 by roberocity

Initial Code
#content {
	height: 75px;
	background-color: #000;
	color: #fff;
	width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto");
	min-width: 740px;
	max-width: 1200px;

Initial URL

Initial Description
Javascript expression in css to allow for min/max widths. replaces the min-width, max-width that works for IE6.

Initial Title
min/max-width fix for IE6

Initial Tags

Initial Language