Forum Moderators: open

Message Too Old, No Replies

How to make variable height iFrame?

iframe html css ajax

         

iamvela

6:51 pm on Apr 23, 2009 (gmt 0)

10+ Year Member



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

11:29 am on Apr 30, 2009 (gmt 0)

10+ Year Member



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

tedster

5:15 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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

8:17 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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

8:29 pm on Apr 30, 2009 (gmt 0)

10+ Year Member



Found 'em londrum, thanks! ::)