Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:32:25+00:00 2026-06-01T01:32:25+00:00

I have a webpage in HTML and related CSS and JS, I am also

  • 0

I have a webpage in HTML and related CSS and JS, I am also available with an iFrame whose width is lesser than the webpage, Now I want to display this webpage in the iFrame in a way that nothing gets distorted, in short I want to configure the webpage to get fixed in smaller iFrame as well..

Guide me to make this work…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:32:27+00:00Added an answer on June 1, 2026 at 1:32 am

    It is dodgy, for obvious reasons, but you can do this with CSS transform. Load the iframe in the correct size for the content, then scale the iframe down with transform. Say your content is 1000×1000 and your desired iframe is 500×500.

    Load the content in a frame that fits:

    <iframe id="magic" src="whatever" width="1000" height="1000"></iframe>
    

    Then scale it to half the size with CSS:

    #magic {
      -webkit-transform: scale(0.5);
      -moz-transform: scale(0.5);
      -ms-transform: scale(0.5);
      -o-transform: scale(0.5);
      transform: scale(0.5);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple webpage called a.html where I want to click on
I have designed a webpage using HTML and client side validation using JavaScript.PHP for
I have a webpage written in HTML. I have a dropdown list that is
I have a webpage with a form, which looks kinda like this: @using (Html.BeginForm(MyAction,
according to the HTML Standards ID-Attributes of any HTML Tag in a webpage have
I have made this webpage, you can check it out here http://www.bettingtowin.net/webcam.html I have
I have a txt file which actually is a html source of some webpage.
I have the following directory structure : /script/x.js /includes/x.txt /1/2/index.html After hooking a webpage
I have a web page into a html iframe, the web page has a
I have a html webpage where I have a list that when an item

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.