HTML/CSS insertion

I’ve just about gotten to putting up my website. I’ve a header + 2 column layout. In my ‘links’ section, I intend to present the categories in the left hand column, the corresponding links in the main content column. The problem is, if I have to insert a new category, I’ll have to go through all ‘links’ pages and insert that code.

Short of installing a CMS or having the categories come up in only the root page, is there a way to streamline this? Hopefully, there’s a XHTML tag like <insert source=“http://this.url” code-id=“name” />

Sounds like you want to use Server Side Includes. Ask your hosting provider if it’s available. The assembled includes appear as a single file to the browser, which is much more reliable than trusting a browser to adhere to any kind of standards.

Two ways. One is use Frames, so the same menu is on every page. Many people don’t like Frames, however, and it can be quite ugly if used badly.

The other way is to use an HTML app that uses an Extended Find And Replace function, which doesn’t just change stuff on one page, but on all pages in a specified location.

Oh yeah, you could use SSI, that’s true. But they can be problematic to setup.

I just looked at my hosting provider’s features page and SSI is included. Is there an universal way to invoke them or does it depend on my host’s setup(Redhat 7.2/Apache) ?

To do a server side include you are required to use a server side language (eg. Java, ASP, PHP). What this means is that when a page is requested the server goes through the page carrying out any dynamic instructions before returning the html source to your browser.
From the limited description of your host I’m guessing that they will offer PHP (which is actually a fairly good place to start) as a server side language.
A simple example of using PHP SSI is included here.
Once you start playing with PHP and server side functonality you will find how many more interesting things you can do with web sites.

Not true.

Using SSIs does not require the use of Java, ASP or even PHP. SSIs predate Java, ASP and PHP. If SSIs are enabled on a server, it is relatively easy to use, along with the required .shtml suffix for web pages.

Bignosebird has an SSI tutorial - see http://bignosebird.com/ssi.shtml

Also see -

Use the proper tool. A good quality programming editor (which is quite different from a text editor or word processor) will have functions that allow you to make global find-and-replace changes over a range of files, rather than having to edit it manually in each file. With such a tool, this ‘problem’ goes away altogether.