css min/max-width fix in IE6

We can use Javascript expression in css to make sure the min-width, max-width that works for IE6.

#content {
	height: 75px;
	background-color: #000;
	color: #fff;
	width: expression(this.Width < 742? "740px" : this.Width > 1202? "1200px" : "auto");
	min-width: 740px;
	max-width: 1200px;
}
affiliate_link
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

Comments are closed.