Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display two HTML pages

Status
Not open for further replies.

NickyB

Programmer
May 11, 2001
21
0
0
GB
Does anyone have any idea whether it is possible to append two HTML files to display them as one page?

The pages cannot be combined to be one page as they are automatically generated as two pages.
 
you can put this line in where you would like for the text of the second to be included on the first:

<!-- #include file=&quot;fileName.htm&quot; -->

:)
 
You could just create a simple ASP file that has two include files which are the HTML files that you want to join. this will work.

e.g The two lines of your myASP.asp could be:

<!-- #include file=&quot;file1.htm&quot; -->
<!-- #include file=&quot;file2.htm&quot; -->

If you then open myASP in a browser, you will see the two HTML file one below the other. Mise Le Meas,

Mighty :)
 
Have a .asp file, get data from first HTML file by using Filesystem object and response.write it. Append data from second simly. You may have to remove </body></html> from first and <HTML>..to..<body> from second.


Its possible this way, there other ways too!

regards,
Jalinder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top