|
jaybee -> RE: Min and max width coding IE freeze (9/27/2006 4:48:43)
|
I've got it as two separate lines on a site I'm doing now and it seems to work as long as you're not using frames, Frames screw it up completely as I found out when my client decided to forward several parked domains to the main site. Try max-width:1200px; width:expression(document.body.clientWidth > 1206? "1200px": "auto" ); min-width:740px; width:expression(document.body.clientWidth < 746? "740px": "auto" ); What I don't get is why you want to do this on that site. Set your widths as fluid, %ages, and let it move in and out. The only reason I'm doing it is because on one site I have a handheld style sheet I wanted to force and on the other I have a 5 column design that screws up if the window is resized by so much as a pixel and I can't persuade the client to change the layout. Given the option I wouldn't be touching expressions. The whole thing will go to pot anyway if someone has javascript turned off in their browser.
|
|
|
|