Replacing Code with Links

Jul 17, 2006
Reaction score
Hi, I am developing my own website and I have a huge chunk of code that appears in every page of my website (its actually the code for a navigation bar). So the problem is that whenver I have to change something in one page, I have do do the same thing in all the rest of the pages!! (Although I am using css, that only helps me preserve the style of each page, not the content :( ).

So I was wondering if there was a way that I can replace all that code in those pages with maybe a link (or something) to a seperate file that stores that chunk of code, so that I can easily change things around.

Thanks in advance.
Last edited:




Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Horizontal menu bar header 2
Iframe link overlapping text 4
What do you recommend me? 3
External CSS 4
pop up map 0
Why <link/> is not working? 4
Email banner 1
HTML Aligning social media icons 2