View Full Version : Auto fit I-frame
artislife90@optonline.net
07-06-2005, 08:58 PM
I am trying to display a page inside my index (in an I-frame) without the need for a scrollbar. Is there a way to have the i-frame auto size the length itself so it will no require a scrollbar...if not, how else cold i achive this type of thing.
Thanks. :)
jscheuer1
07-06-2005, 09:30 PM
You say a page, what page? If you know its dimensions, set the iframe to scrolling=no and the width and height of the page. Also check these:
http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
artislife90@optonline.net
07-06-2005, 09:34 PM
Well the page that would be inside the frame would be a blog, and so the length (hight) would change with each post.
jscheuer1
07-07-2005, 05:48 AM
You can try one of the links I mentioned in my first response for that then. There might be some problems with PHP (if that is what the blog uses) content though, then again, one or the other may work fine for you. Good Luck!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.