Hello everyone,
  
I wanted to get some feedback from the list on using IE's proprietary CSS
attributes to define min/max width for IE6.
I found a link on www.CSSBeauty.com to this:
   
http://perishablepress.com/press/2007/01/16/maximum-and-minimum-height-and-w
idth-in-internet-explorer/
    
PerishablePress.com says, "This method has been verified in IE6 and should
also work in IE5." E.g., if one wanted to set a min-width of 333px on
"div#division" the technique boils down to this:
 
* html div#division { 
   width: expression( document.body.clientWidth < 334 ? "333px" : "auto" );
/* set min-width for IE */
   min-width: 333px; /* sets min-width value for all standards-compliant
browsers */
} 
  
Has anyone run into complications using this method? Any gotchas??
   
Thanks for your advice in advance.
Cheers,
Rod Miles

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to