Forum Moderators: not2easy

Message Too Old, No Replies

How do I put navigation in the stlye.css file

need to change nav. on one page and have it change on all pages

         

shellye

5:17 pm on Oct 5, 2004 (gmt 0)

10+ Year Member



I am trying to put my navigation in my .css file. Is this possible?

The problem I have with my webpage now is that when I want to delete a link or change where it is linked to I have to do it on all 20 pages. I want to be able to put it in the .CSS file, so for example: when I change the words & link "Bahamas Cruise" to "Hawaii Cruise" it will change on all pages. Right now I have to go under each page and retype the text and add the new link.

Is this possible with CSS?

encyclo

5:55 pm on Oct 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, what you want is not possible. CSS is a styling not a content mechanism.

What you need are Server-Side Includes (SSI). They do exactly what you want - which is to include snippets of markup on multiple pages.

Have a quick search of the forum, there are a load of threads about SSI which will get you started.