homepage Welcome to WebmasterWorld Guest from 54.163.89.8
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How to make variable height iFrame?
iframe html css ajax
iamvela

5+ Year Member



 
Msg#: 3898882 posted 6:51 pm on Apr 23, 2009 (gmt 0)

How can I create multiple IFRAMES (or frames) on a page that have variable height?

To illustarte the point think of it that I want a page that will have my menus on top, then a page (of indeterminate length) from abc.com and then another page from def.com, and so on...

Please help! Thanks!
--

 

punisa

5+ Year Member



 
Msg#: 3898882 posted 11:29 am on Apr 30, 2009 (gmt 0)

Give each frame a class (or id) and style them individually according to your needs.
Although using frames is a bad idea actually..

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3898882 posted 5:15 pm on Apr 30, 2009 (gmt 0)

I'd say there can be good uses for an iframe - but do appreciate that the content in an iframe is not indexed as part of your url. So the page you described has no content of its own - just a menu area.

londrum

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3898882 posted 8:17 pm on Apr 30, 2009 (gmt 0)

if you want the iframe to resize itself to fit the content from another site, then javascript will do the job. plenty of scripts on the web if you google them

iamvela

5+ Year Member



 
Msg#: 3898882 posted 8:29 pm on Apr 30, 2009 (gmt 0)

Found 'em londrum, thanks! ::)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved