I recently added an javascript expression to an IE6-specific style sheet 
to fix the min-width issue (www.acrightsize.com). Of the many solutions 
I found, I used this one:

http://www.visibilityinherit.com/code/ie6-min-max-height-width.php

The author describes a special version for the body element:

body {
width:expression(d=document.compatMode=="CSS1Compat"?documentElement:document)&&(d.clientWidth<501?"500px":"auto");
}

What does the first part of this expression accomplish?

Note: there's a thread in css-discuss that suggests dynamic properties 
don't work well on the body element, which I'm guessing is why a special 
expression is required. I'd just like to understand a little more about 
what I've added to my site.

http://archivist.incutio.com/viewlist/css-discuss/42288

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/

Reply via email to