By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,394 Members | 1,912 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,394 IT Pros & Developers. It's quick & easy.

Including page inside other page (similar to iframe)

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.