The minimum IE window size

[Windows 7 Application Compatibility episode 6]

One of my customers came to me and asked why IE8 cannot open a 140px wide window.

Well, if you drag IE border and resize IE window to the minimum, it can be as small as 250px wide x 100px tall.

That's the minimum window, which means you cannot 140px wide window anymore with IE7 or later.

But if you use open Method, the constraints are as follows:

width = number

Internet Explorer 7. Sets the width of the window in pixels. The minimum value is 250, and specifies the minimum width of the browsers content area.

Prior to Internet Explorer 7 the minimum height value is 100.

 

height = number

Internet Explorer 7. Sets the height of the window in pixels. The minimum value is 150, and specifies the minimum height of the browser content area.

Prior to Internet Explorer 7 the minimum height value is 100.

As for the height, you can set the value down to 100, not 150.

But these values are for the content, I mean these sizes don't include the frame size. So, the window can be smaller if you drag the window border.

If you want to set the window to the smallest, I think you need to use resizeTo Method

When you use this method, you can set the height to 58px and the width to 230px, which is the smallest content size.

You can also use showModalDialog Method and showModelessDialog Method, and these contraints apply the same to these methods.

So, anyway you cannot open 140px wide window anymore... I think you need to redesign your window.