Forum Moderators: open

Message Too Old, No Replies

CSS Link to table of contents

         

Leeza

6:26 am on Jul 28, 2003 (gmt 0)

10+ Year Member



I am very new to CSS and HTML design and have gotten stuck. I have a website that has multiple pages. I have created a navigation menu using an unordered list. Rather than having to update each and every page everytime I want to
change the menu is there a way that I can link to one common place, kind of the way that you do with a css for format?

Purple Martin

6:38 am on Jul 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it's called "server side includes". Basically, you put your nav code in a seperate file, and then put an "include" (a special kind of link to the file) in each page in your site. Then when the web server sends a page to a user's browser, it includes the nav code in the page as if you'd coded it straight in. Using includes is great because changing the one nav file updates the way all the pages look. Do a search (here and Google) for more info on includes, and have fun!

Leeza

10:40 am on Jul 28, 2003 (gmt 0)

10+ Year Member



I will do a search for it. Thanks so much!