Re: [css-d] "Expression" hack for IE quirk?

2011-10-11 Thread Tomasz Borek
On 10/7/11 11:56 AM, Keith Purtell wrote: > I'm curious as to what some of you may think of this method I saw for > handling IE's refusal to recognize max/min-width? I had never heard of an > expression hack. > Just today I learned about this when I was fighting some float problems in IE. Appare

Re: [css-d] "Expression" hack for IE quirk?

2011-10-07 Thread G.Sørtun
On 07.10.2011 17:56, Keith Purtell wrote: I'm curious as to what some of you may think of this method I saw for handling IE's refusal to recognize max/min-width? I had never heard of an expression hack. I have used, and still use, expressions for on sites that should/must provide maximum supp

Re: [css-d] "Expression" hack for IE quirk?

2011-10-07 Thread David Laakso
On 10/7/11 11:56 AM, Keith Purtell wrote: I'm curious as to what some of you may think of this method I saw for handling IE's refusal to recognize max/min-width? I had never heard of an expression hack. * html #wrapper { width: expression( document . body . clientWidth < 972 ? "970px": "

[css-d] "Expression" hack for IE quirk?

2011-10-07 Thread Keith Purtell
I'm curious as to what some of you may think of this method I saw for handling IE's refusal to recognize max/min-width? I had never heard of an expression hack. * html #wrapper { width: expression( document . body . clientWidth < 972 ? "970px": "auto" ); } - Keith Purtell ___