|
Hi, everyone! I am in the process of designing my first complete CSS site and I have a question on how to get my navigation to be easy to edit. I need to be able to make a change in one place and the navigation updates on ALL pages automatically.
I am not talking about the design portion, I know I can edit my style sheets to change the way the nav looks, but I want a way for me to be able to add more links or delete links easily. Is this something that can be accomplished through CSS?
I am using some javascript in my navigation so that when a user clicks on certain main titles the sub-areas open up directly underneath.
I read somewhere about using <!--#include file="css/main-nav.asp" --> and making an .asp file with all the nav info in it. Well, when I do that it shows up in dreamweaver design view fine - but not in the browsers. I even uploaded it to my server to check it out and it still doesn't work. BUT I think I need a different solution than .asp anyways because I am on a linux server.
Is that correct?
Any ideas would be greatly appreciated! Thanks!
|