WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Updating navigational links across web pages

for

From: Christian Heilmann
Date: Mar 9, 2005 12:38AM



>Hi all,
>
>I have designed a website using CSS. The website is a
>huge collection of web pages, around 500 html
>pages!!!I m facing a problem of updating my links
>across all the pages. It's really time consuming to
>update the link across all the pages.
>
>Does anyone know abt a technique in CSS that will
>update the navigational links across all web pages, if
>modified at one instance.
>
>Hoping for an answer soon.
>
>
This is what server side includes are for. CSS has the job to define how
something looks, not what it does or where it points to. You can use
any Server Side language for that, PHP, ASP, Cold Fusion, ModPerl,
Apache SSI to create the navigation in an external file, and inlclude it
in all. Another option is to generate your 500 pages every time you do
a change, via templating languages.
In any case, CSS won't help you, as it does not generate any code.