HTML memory jog?

Associate
Joined
22 Sep 2009
Posts
2,085
Location
Leicester
I'm working on a portfolio site at the moment and I want to use the same colour, links and text on all pages, preferably without copy/paste. I'm using CSS for the borders, colours etc, however I've totally forgot how to do the links. I'm also not thinking of frames; I'm sure there's a way that I can take content from another page and that's the method I'm after.
 
Sorry, I mean something like this

Code:
			<div id = "hLink">
				<<a href = "./index.html" title = "About Me">About Me</a>>
				<<a href = "./psp.html" title = "PSP Projects">PSP Projects</a>>
				<<a href = "./projects.html" title = "Projects">Complete Projects</a>>
				<<a href = "./wip.html" title = "Work in Progress">WIP</a>>
				<<a href = "./skills.html" title = "Skills">Skills</a>>
			</div>

But instead of having to copy and paste that if I change, being able to just change it in 1 document and it changes it over all pages, like if I wanted to change the background colour of all my pages I just edit my .CSS file.
 
I believe so, is there a method though of getting it to work from a local directory on a PC rather than a web server? The aim is to use the portfolio on the internet and burn to CDs as well.
 
Back
Top Bottom