Hi, how do I include one html page in another? So like the header and footer as pages and then put that in another to show them both? They are in different folders. Thanks.
Not that I'm aware of. I just made the master file into a php one, redirected the *.html to the *.php version, and did an include of the second one when I had to do it.
you can use 1) dreamweaver templates (dwt) 2) server side include http://webdesign.about.com/od/ssi/a/aa052002a.htm vineet
I put <!--#include virtual="/home/keaton/public_html/header.html" --> in the file I want it to appear (which is :/members /index.html) Have I done that wrong because it doesn't work. Thanks.
Check with your host. They may not allow for SSI. Some hosts don't as they're a bit of a security risk and add to the server load. (Which is why I didn't think of it.)
Frames, I guess. Example: <html> <head> <title>Arties Haarmode - Papestraat 1a - Den Haag</title> </head> <!-- frames --> <frameset cols="*,800,*" border=0> <frame name="left" src="left.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"> <frameset rows="*,130,470,*"> <frame name="top" src="top.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"> <frame name="title" src="title.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" noresize> <frame name="main" src="main.html" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0"> <frame name="bottom" src="bottom.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"> </frameset> <frame name="right" src="right.html" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"> </frameset> Code (markup):
Sorted now thanks everyone. I hadn't surrounded the include files in <html> tags, which I can do. Thanks.