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

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

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