Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Without meta viewport mobile browser innerWidth a little bit do not understand

I tested the value of innerWidth and found that when I write one content, the value is 980, when I write many contents on the page, the value becomes 1500? How is this 1500 calculated? Why is the maximum is 1500, write more content, it is also 1500

window.onload = () => {
  alert(`window.innerWidth--${window.innerWidth}`)
  alert(`screen.width--${screen.width}`)
  alert(
    `document.documentElement.clientWidth--${document.documentElement.clientWidth}`
  )
}
<template>
  <p>
    WidthWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtWidtv
    980 1500
  </p>
</template>

View width 1500 images

View width 980 images

about 4 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 Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!