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

308
Views
iframe Fits complete webpage as on Full HD Screen in to a small Window

enter image description here

enter image description here

In first Picture I have 6 iframes being loaded and each having its own HTML page. All pages in those iframes are responsive so they got adjust as per the size.

But I want to make it look like exactly the same those HTML pages would look in 1920x1080 resolution screen (shown in image 2)

Image 2 is the HTML page being loaded in the second row first iframe of Image 1

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

0

You can set the high resolution to the frame by default and then zoom and scale it down to the required size.

All you have to do is calculate zoom/scale from starting width to required width. Which should be required width divided by starting width.

Source of the code with examples.

#your-frame {
  width: 1920px;
  height: 1080px;
}

#your-frame {
  zoom: 0.50;
  -moz-transform: scale(0.50);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.50);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.50);
  -webkit-transform-origin: 0 0;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  #your-frame {
    zoom: 1;
  }
}

about 4 years ago · Juan Pablo Isaza Report

0

You probably forgot to set the size to iframes. The code below helped me without any problems:

CSS Code:

div {
  width: 31%;
  height: 294px;
  margin: 0 auto;
}
iframe {
  width: -webkit-fill-available;
  height: -webkit-fill-available;
  overflow: hidden;
  border: 0;
}

enter image description here

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!