View Full Version : Help with making a navigation bar.

12-22-2006, 02:45 AM
I've been attempting to make a navigation bar where to add a link one would have to change one master file. I attempted this with CSS but became stuck when it occurred to me that using
selector.class:after {content: "X"; } would not allow me import the entire navigation bar (which is in a list format). I've been looking for another method of doing this, but so far haven't found one.

Has anyone got any suggestions of how I might go about 'importing', if that's an appropriate word, a snippet of HTML from another file? Or something similar so that every time I want to add a link to my navigation bar I won't have to edit each page.

12-22-2006, 03:03 AM
Php includes. Works for me.
Google it for a much better explanation than I could give.