On 7/25/2009 3:30 PM, G.Sørtun wrote: > David Butler wrote:> > > body { width:expression(d=document.compatMode=="CSS1Compat"? > > documentElement:document) &&(d.clientWidth<501?"500px":"auto");} > > What does the first part of this expression accomplish? > > > You mean the part of the expression that checks if IE6 is in standard mode (CSS1 compatibility mode) or not ?
Hi Georg, Thanks for your response. Yes, I'm referring to compat check. I don't understand the syntax. Can you step me through the part starting with "d=" up through the < (less than) operator? BTW, I visited your site and found lots of useful information that relates to my situtation. Thanks! David ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/