[BNM] IE min-width hack

Ali ali at nubz.com
Fri Nov 10 16:20:42 GMT 2006


uh oh, I see that the auto will be applied in between  740 and 1200 so forget that 1199 nonsense....

On 10/11/2006 15:25:52, Ali (ali at nubz.com) wrote:
> Hi Andy
> 
> This hack seems to work fine in my IE6 on SP2
> 
> curiously though why not use 1199 as the max for defaulting to 740? that
> way accounting for resized windows on higher than 800 screens e.g. in the
> cameronmoll version a window size of 850 wide will give a 1200 wide site...
> .using 1199 works fine in my IE also
> 
> width: expression(document.body.clientWidth < 1199? "740px" :
> document.body.clientWidth > 1202? "1200px" : "auto");
> 
> 
> Ali
> ----- Original Message -----
> From: Andy Galletly
> To: brightonnewmedia Media
> Sent: Friday, November 10, 2006 11:28 AM
> Subject: [BNM] IE min-width hack
> 
> 
> hi list
> 
> I keep crashing IE with my tests, whilst this is fun in some ways,
> it's not entirely productive...
> 
> I'm using the
> 
> width: expression(document.body.clientWidth < 742? "740px" :
> document.body.clientWidth > 1202? "1200px" : "auto");
> 
> hack from http://www.cameronmoll.com/archives/000892.html ,
> apparently making sure the values are different ie. clientWidth <
> 742? "740px" not   clientWidth < 740? "740px"  should stop it
> crashing, but it keeps doing it...
> 
> anyone got any pearls of wisdom for me?


More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service