On 7/25/2009 3:30 PM, G.Sørtun wrote:
David Butler wrote:
body { width:expression(d=document.compatMode==CSS1Compat?
documentElement:document) (d.clientWidth501?500px:auto);}
What does the first part of this expression accomplish?
You mean the part of the expression that checks if
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
David Butler wrote:
body { width:expression(d=document.compatMode==CSS1Compat?
documentElement:document) (d.clientWidth501?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