• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

125
Views
window.open with width and height open a window with NOT that actual width and height

In Javascript, when I use window.open("", "", "width=250, height=250"), the popup window is not actually sized at 250x250.

The best way to see this clearly is to compare against a div with width and height at 250x250 and simply drag the popup next to the div to see that it's not the same size.

https://cdpn.io/ianhd/debug/KKvqgve/yYMyLaQmoeLk

broken window open javascript visual

What am I missing?

almost 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error