|
Is there a way CSS method of giving properties to links that are currently being viewed/active?
For example, if I'm on index.php, and there's a link on the page that links to index.php, is there a way to give that link properties so that it's a different color/italic/etc?
Up until this point I've been using PHP to check the PHP_SELF value and then put 'if' statements into the <a> tag, which seems like sort of a hack job.
Thanks
|