467,907 Members | 1,089 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,907 developers. It's quick & easy.

Including page inside other page (similar to iframe)

Hi,
I would like to include one page inside an other page, almost like a
IFRAME does it. The problem is that I would like the included part to
occupy as much space as it needs, so it would be treaded as a DIV. In
other words if it the included page exceeds a given size it would
resize to to show full included page. Normally, the IFRAME would
create scrollbars. I also tried with <object data="page.html"
type="text/html">, but the result is the same - the are created
scrollbars instead of automatic extension.

I'm affraid that it isn't possible. Does anyone has an idea how could
I do it (a part from merging pages on the server side)?

Best regards,
Marcin Okraszewski
Jul 20 '05 #1
  • viewed: 8151
Share:
1 Reply
Marcin Okraszewski <ok****@o2.pl> wrote:
I would like to include one page inside an other page, almost like a
IFRAME does it. The problem is that I would like the included part to
occupy as much space as it needs, so it would be treaded as a DIV. In
other words if it the included page exceeds a given size it would
resize to to show full included page. Normally, the IFRAME would
create scrollbars. I also tried with <object data="page.html"
type="text/html">, but the result is the same - the are created
scrollbars instead of automatic extension.

I'm affraid that it isn't possible. Does anyone has an idea how could
I do it (a part from merging pages on the server side)?


What's wrong with merging pages on the server side? That's the only way to
do what you want to do reliably.

See also http://www.htmlhelp.com/faq/html/des...l#include-file and
http://www.htmlhelp.com/links/preprocessors.htm
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"No matter how far you have gone on the wrong road, turn back."
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Theo | last post: by
2 posts views Thread by Sheryl Landon | last post: by
14 posts views Thread by Silver | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.