>But, the only problem with that is the following. This is why I avoided to use it. I wanted to restrain the resizing under 1256 pixels, assuming the body.client area was that size. But, if the window would have been smaller at first, this would restrain the user, or lock the environment at 1000 pixels for example, blocking the user from the possibility to resize back to a higher width.
Did you consider CSS properties min|max-width?
http://www.w3.org/TR/CSS21/visudet.html#propdef-min-widthMajor browsers should support it
http://www.webdevout.net/browser-support-cssYou can change it by JavaScript, e.g. document.body.style.minWidth
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)