View Full Version : Can't get the Horizontal scroll bar to disappear in iframe

01-05-2006, 12:18 AM
I am using Iframes on my site. I have designed my site with photoshop and have to use iframes because I want it to stay as a connected frame.


On every page loaded with Firefox and IE show horizontal scroll bars. I need the vertical scroll bars. When I set the Iframe to scrolling="no" then I lose all scroll bars (obviously). In most of my pages I do not have tables withen the html pages that are loaded for src="" in the Iframe.

If anyone can help it would be very much appreciated!


01-05-2006, 09:49 PM
iFrames by default will only insert necessary scrollbars. If you have horizontal scrolling problems the content in the iFrame is pushing out of the frame.

Try resizing the content within the frame.

02-01-2006, 12:18 PM
I've had that prblem a few days ago and found the answer on the internet (don't know where anymore)

Here it comes:
Set the scrolling of the iframe to "yes" instead of "auto"

Open the html of the linked page:
place a table which is set to a width of 100%

within the table you can place your text
Maybe my answer doesn't make it clear, than you should see what i've done.
this is the page where you can see the frame (http://home.wanadoo.nl/arne.vanruitenbeek/voorbereiding.htm)
this is the page in the frame (http://home.wanadoo.nl/arne.vanruitenbeek/update.htm)

you can use the view source option to see what i have done. (the iframe is called "blauw")