I use SSI (or will as I'm still converting files) for all my pages. If you want to use SSI, find or make an .htaccess file. Put it in your root directory. On the file put:
AddType text/html .shtml
AddHandler server-parsed .shtml
Make a plain file that contains the banner code that you want to use. Mine, if you want to use it, but you need to transfer styling to a separate CSS file that you use for all pages. Name file whatever you want with an HTML extension. Do not use the doc type, <html>, <head>, <meta>, <title> or <body> tags. Only what you would need to put banner on each page.
You will have to rename all your pages from *.html to *.shtml.
Say, you named the file _a_banner.html, you would then place the following where you want the banner to appear in one of two ways:
File in same directory: <!--#include file="_a_banner.html" -->
File in different directory: <!--#include virtual="/_a_banner.html" -->
Test it online to see if you have done it right and banner is where you want it on the *.shtml file(s).
NOTE: I named my files with " _a_ " to keep them alphanumerically at the top in my editor's window. Name them as you like.
Ron
Edited by Major Payne, 27 July 2007 - 05:29 PM.