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

145
Views
How can I make my element take the full screen and disable the scrolling?

I want to make my children div take the remaining space of the screen and disable the scrolling option, because I'm using PanZoom, I want the children's div to be always 100& the screen

<div class="parent">
    <menu> ... </menu>
    <div class="children"> ​
        <panzoom></panzoom> //the image can change size, height etc.
    </div>
</div>

I tried to use

children  {
    height : 100%
}

But with PanZoom, the div is bigger and the scroll option apears.

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

0

I'm honestly not sure exactly what you mean, your question is a little unclear, but, here's a possible answer.

If you want to make an element truly full-screen, you shouldn't just set the height to 100%, you need to consider the user's screen, like so:

.element {
   height: 100vh;     // sets the height to the full screen view height
   width: 100vw;      // sets the width to the full screen view width
   overflow: hidden;  // hides scrolling
}
about 4 years ago · Juan Pablo Isaza Report

0

If you don't want the scrollbar to appear you can do

.children {
    overflow: hidden;
}
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!