Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE7 window.open width too wide 1

Status
Not open for further replies.

Einstein47

Programmer
Nov 29, 2001
737
US
Hey all,

I am validating an internal web app that has been running on IE6 for years. We are "Just Now" validating it for use on IE7 (don't blame me - I'm just the messenger).

One of the features of our site is a popup calendar date picker. On IE6 this calendar displayed in a small popup window that is 150 x 175 (h,w). However on IE7 it is much wider. Is there a reason for that?

I heard there is a minimum width? Shouldn't this be a default width? Is there anyway to force a popup window to be the size I specify?

Einstein47 (Starbase47.com)
“PI is like love - simple, natural, irrational, endless, and very important“
 

MSDN said:
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.

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.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
so there IS a minimum size - obviously IE7 thinks to much of itself - 250 px wide minimum is an absurd amount. I don't want to recode my whole site for these calendar selection popups - I'll just document what IE7 does and let the manager decide which battles to fight.

Thanks a ton, Dan - you sure know your stuff (and where to find things)

Einstein47 (Starbase47.com)
“PI is like love - simple, natural, irrational, endless, and very important“
 
The MSDN site is a great reference for IE-only behaviour (intentional behaviour, that is - I doubt they document any commonly-known rendering bugs).

If I know I'm after something on there, I normally find it fairly quickly by adding the suffix 'MSDN' to my Google search, e.g. 'window open MSDN'.



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
I'd give you a second star for that - if I could.

You are the best!!!

Einstein47 (Starbase47.com)
“PI is like love - simple, natural, irrational, endless, and very important“
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top