Current page condition

Giganews Newsgroups
Subject: Current page condition
Posted by:  Kerberos (…
Date: Sat, 18 Dec 2004

Is there a way to change the color of a link in a navbar if the address of
the link is the current page?
For instance if I have:

Home - index.php
Products - products.php
Contact - contact.php

Let's say I'm on the home page, and the Home link is dark green whereas
Products and Contact are green.
Now I go to the Products page and Home and Contact are green whereas
Products is dark green.
So far I have always used a class="current" attribute to diferenciate, but
maybe there is a more simple CSS way to do it. How would you do it?