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

89
Views
CSS height making scrollbar go below the page/screen

image

height 100vh pushes scroll bar under the screen/page

but

image

it seems height 82.5vh is perfect size

how can I ensure that height fits the screen/page? or calculate which height will fit the screen in this case 82.5vh?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to know the height of the top element, for example if it is 200px you can then set : height: calc(100vh - 200px) to the scrollable container. Just make sure you include any eventual margin in the calc.

about 4 years ago · Juan Pablo Isaza Report
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!