page headers

SyncViews

New Member
Messages
37
Reaction score
0
Points
0
How can I have all my pages display a "header" from an other file (eg main_head.htm).

I'd rather do it this way than copy paste the ad infomation into every page as if the link changes or I want to add my own adds as well I'll have to edit like 100 pages rather than just a single header file.

I thought it could be done with <frame src="main_head.htm> but that tag doesn't seem to work :(
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
You can do it by using SSI

<!--#include virtual="/header.html" -->

Hope, this can help you a bit.

* You should have the file extension .shtml for using SSI.
 
Last edited:
Top