Replacing Code with Links

Discussion in 'HTML and CSS' started by swapnillium, Jul 31, 2006.

  1. swapnillium

    swapnillium

    Joined:
    Jul 17, 2006
    Messages:
    3
    Likes Received:
    0
    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: Jul 31, 2006
    swapnillium, Jul 31, 2006
    #1
    1. Advertisements

  2. swapnillium

    swapnillium

    Joined:
    Jul 17, 2006
    Messages:
    3
    Likes Received:
    0
    come on... anyone?
     
    swapnillium, Jul 31, 2006
    #2
    1. Advertisements

  3. swapnillium

    swapnillium

    Joined:
    Jul 17, 2006
    Messages:
    3
    Likes Received:
    0
    please, I really need help!!
     
    swapnillium, Aug 2, 2006
    #3
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.