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 6101585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:30:58+00:00 2026-05-23T13:30:58+00:00

My page layout is structured in tables (I know this is not ideal –

  • 0

My page layout is structured in tables (I know this is not ideal – I inherited it).

I am trying to display an iframe in a div with the following code inside a table cell () as below:

<td class="style24" style="width: 800px">
<div id='outerdiv '>
<iframe src="www.google.com" id='inneriframe' scrolling=no >< /iframe>
</div>
</td>

The issue is the iframe causes the table cell to grow and then pushes the content on the right of the page off the page!

Is there a way to limit the size of the iframe that’s displayed that won’t make the table cell grow? Limiting the width of the iframe doesn’t seem to have an effect, as soon as the div content is placed in the td the effect occurs.

  • 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-05-23T13:30:59+00:00Added an answer on May 23, 2026 at 1:30 pm

    You can try adding the width and/or height to the iframe and #outerdiv (add overflow-x to the #outerdiv as a failsafe):

    <td class="style24" style="width: 800px">
    <div id='outerdiv' style="width:800px; overflow-x:hidden;">
    <iframe src="www.google.com" width="800" frameborder="0" id='inneriframe' scrolling=no >< /iframe>
    </div>
    </td>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have the following structure, for example, in a single page layout: <div
I have a difficulty on design a web page layout. This is my layout
I have a page layout that I use in my SharePoint solution when I
I have a page layout involving a lot of position absolute and z-indexing, so
I have a simple page layout with two divs--one on top, and one on
When I'm working on a web page layout, I often use Firefox and Firebug
I've got a problem with my page's layout. I want to create 3 table
I'd like to get the name of my partial view in my layout page
Here is my test page (dont mind the layout right now) https://www.bcidaho.com/test_kalyani/employer-plans-test.asp i found
Here's the basic layout of a page I'm working on: alt text http://www.mfrl.org/images/pagelayout.png What

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.