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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Header and Footer

Status
Not open for further replies.

beer

Programmer
Mar 13, 2001
19
US
Hi All,

Does anyone know how to include header and footer files in web pages? Both of the header and footer files will not show on the web page, but it will be printed on an A4 size of paper.

I would appreciate it for your helps. Thank you.
 
hi

use this

%>
<!--#include file=&quot;header.html&quot;-->
<%
this goes at the top of the page...basically get inserted in the page where it is positioned in your code execution

do the sam for the footer
%>
<!--#include file=&quot;footer.html&quot;-->
<%

hope this helps

bastien
 
Bastien,

Thank you for your help. However, what I need is not to show the header and footer files on the web pages, but it will show when the web pages are printed.

Any idea? I would appreciate it. I thank you for your great help. Thank you

Beer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top