Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 18th, 2003, 01:16 PM
Authorized User
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default IFrame forces parent to scroll

I have an HTML page which contains an IFrame. With the default content in the IFrame, neither the parent nor the IFrame requires scrolling. However, when I load something into the IFrame (via a link in the parent) which overflows the IFrame, the IFrame displays scroll bars as expected, but the parent window also scrolls, even though the IFrame has not changed size. There should never be a need for the parent to scroll.

Does anyone know if this can be stopped?
 
Old September 18th, 2003, 07:46 PM
Authorized User
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, never mind.

{overflow:hidden} does it. I had tried this and it didn't work. Must have been a caching problem.

Ken





Similar Threads
Thread Thread Starter Forum Replies Last Post
overlapping Parent div Scroll bar anantdev HTML Code Clinic 4 August 11th, 2008 06:21 AM
values from one iframe to another iframe URGENT raaj Beginning PHP 2 February 27th, 2007 12:19 PM
datagridview scroll omersharp C# 2005 0 February 13th, 2007 05:13 PM
scroll control aytacakin CSS Cascading Style Sheets 1 November 26th, 2005 04:22 PM
text/plain forces download pgtips Classic ASP Basics 1 September 12th, 2003 05:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.