Question:
how to load an html page within an html page?
Shahad
2011-07-18 16:38:14 UTC
I have a webpage and am trying to put a sidebar on the right of each page, to avoid changing the text on each page every time it needs changing I made a seperate HTML page for the side bar, I just can't figure out how to load it in the main page. Sorry if that was at all confusing.

Thank you in advance
Three answers:
GuyOnEarth
2011-07-18 17:08:09 UTC
You can do it with frames, which is outdated, or with PHP by using an include statement.



zxc090
anonymous
2011-07-19 12:54:04 UTC
Dynamic Ajax Content: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

Iframe SSI script II: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm



Or...



div#wrap {

width:446px;

height:600px;

overflow:hidden;

position:relative;

}







Restyle as you need.



Ron
med
2011-07-20 14:31:32 UTC
use Iframe instead..


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...