Help - Search - Members - Calendar
Full Version: How do I do this?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Alex McP
Hi I'm new to XHTML and CSS, but have made great progress. My site is growing rapidly, and I know just what I want to do but don't know what I need to learn in order to do it. I have a div of links on the left of my page, and it's persistent (shows up on every page).

How do I make something that has that div of links as just one separate file, and that is referenced by all the other pages I create? This way I'll only need to update one file if I need to add more links. I DON'T want to put in a frame or something like that; I want to stick to more modern layout tools.

If this doesn't make sense please email me and I can clarify. Is PHP what I need to add to my pages?

Thanks a lot,

Alex
pandy
You can't do it with HTML. But you can with SSI (or PHP or whatever). That is, it must be done with a server side language.
http://htmlhelp.com/faq/html/design.html#include-file
Alex McP
Hey hey, thanks so much. Sometimes it's hard to know where to get started, even if the answer ends up being relatively simple. Coulda taken me weeks to find the phrase "server side include".

Much obliged.

QUOTE(pandy @ Jan 24 2008, 03:14 PM) *

You can't do it with HTML. But you can with SSI (or PHP or whatever). That is, it must be done with a server side language.
http://htmlhelp.com/faq/html/design.html#include-file

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.