Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Can i use css to script a menu for every page?

Options
  • 29-06-2010 9:21pm
    #1
    Registered Users Posts: 1,459 ✭✭✭


    hi there..

    ok what im after is this.. i want to place my menu code in one place (ie. in the slylesheet)
    and then just reference to it in every other page...

    i will be making a lot of html pages and dont want to edit the menu code on every page anytime i make a change

    is this possible or what is it i need to read up on to achieve this

    thanks
    H


Comments

  • Registered Users Posts: 8,488 ✭✭✭Goodshape


    No. CSS can store the style information (which can be included and used on multiple pages) but not the markup, the links, the structure, etc.

    The way to do it depends on what your server supports (PHP, ASP, something else?). A google search for html includes has got this first result, which outlines a number of available methods.


Advertisement