Re: [css-d] question on fix for IE6 min-width issue

2009-07-26 Thread David Butler
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 expres

Re: [css-d] question on fix for IE6 min-width issue

2009-07-25 Thread G.Sørtun
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 co

[css-d] question on fix for IE6 min-width issue

2009-07-25 Thread David Butler
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 eleme