How to change links in CSS?

I want to emulate frames with CSS, so that to change the links on my menu I wanna just go and edit one single file? Any tutorials?

  • Answer:

    Ever thought of Server-Side Includes? Or a Javascript that writes THAT section of your code? SSI - http://eregie.premier-ministre.gouv.fr/manual/howto/ssi.html Javascript - http://www.javascriptkit.com/script/cutindex23.shtml Personally, I used Javascripting for some time. All the modules did was include the menu, formatting (classes/styles) and the menu itself. They each did document.writes of the correct module for that section of code (page top, sidebar, etc.) Then I only had to change it there to change it everywhere on my site. More recently, I used Server-Side Includes, which is basically, the HTML code that should be put in that spot. They are included when the page loads. There's quite a bit of documentation on SSIs out here, it may be difficult for some (like me) to understand something: On many servers, if a page has to be named with a ".SHTML" extension or type, it will be the page IN WHICH the statement is located (where you want that code), not the file being included (unless, of course, it too has an include statement - Yes... They CAN be "nested").

myJeena at Answerbag.com Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.