Zoe M. Gillenwater wrote:
> ... I wanted to let you know that your min-width script freezes IE6
> when you size your window down to the point where it kicks in. This
> is a known issue with this script, but unfortunately, I can never
> remember the fixes to it -- everyone seems to recommend something
> else, and I can never get any of the suggestions to work! Perhaps
> this email will prompt someone else to chime in with their foolproof
> fix for the script...
'width: expression(document.body.clientWidth < 760? "760px": "auto" );'
This isn't really a script. It is an IE-expression and as it is written
it will only work when IE6 is in quirks mode.
1: run IE6 in quirks mode by putting an <?xml "prolog" before the doctype.
2: use one expression for IE6 and one (the one above) for IE5+ since
they are always in quirks mode.
3: use a script that basically do exactly the same as those IE-expressions.
> If that fails, you could always switch to another script. PVII has a
> good one: http://www.projectseven.com/tutorials/css/minwidth/
I always use alternative 1, since that means I only have to "fix" IE/win
once on most issues. Will probably work for IE7 also, but who knows...
up doing so by setting "High Security" in XP-SP2, then both expressions
and scripts will fail. Set a fixed width before any expressions or
scripts kicks in, if a page need one to fall back on in IE/win.
I use this solution myself, of course.
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/