Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Microsoft Edge incorrectly positions pop-up windows near the upper-left corner of the main browser window


View products that this article applies to.

Symptoms

Assume that you design a webpage to put pop-up windows in a fixed location on the screen. When a user uses Microsoft Edge to view the webpage, pop-up windows are positioned incorrectly near the upper-left corner of the main browser window.

For example, this problem may occur if you use HTML that resembles the following:

<!DOCTYPE html>
<html>
<head>
  <title>Main Page</title>
</head>
<body>
    <div>
      <button type="button" onclick="window.open('https://www.bing.com', 'myPopup', 'top=100, left=100')">Click</button>
    </div>
  </body>
</html>


When this problem occurs, a pop-up window is created near the upper-left corner of the main window when a user clicks the button. You expect the pop-up window to be created in the position that is defined by the top and left coordinates in your HTML.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in Microsoft Edge. We are researching this problem and will post additional information here when it is available.

↑ Back to the top


Keywords: kbprb

↑ Back to the top

Article Info
Article ID : 4046842
Revision : 8
Created on : 10/17/2017
Published on : 10/17/2017
Exists online : False
Views : 239