Return to Snippet

Revision: 4438
at December 12, 2007 04:08 by dhjapan


Initial Code
/***** this sets the max-width value for all *****/
div#division {
max-width: 777px; 
}

/***** this sets the max-width value for IE *****/
* html div#division { 
   width: expression( document.body.clientWidth > 776 ? "777px" : "auto" );
}

Initial URL
http://perishablepress.com/press/2007/01/16/maximum-and-minimum-height-and-width-in-internet-explorer/

Initial Description
max/min-width & max/min-height pour IE

Initial Title
max/min-width & max/min-height

Initial Tags
css

Initial Language
CSS