Forum Moderators: not2easy
<html>
<head>[...]</head>
<body id="services">
[...]
<a href="/services.html" id="services_link">services</a>
<a href="/about.html" id="about_link">about us</a>
[...]
</body>
</html> The id on body is selected through body#services.
body#services a#services_link
select the first <a> in the above example
but not the second.
In the other files the id on the body is changed to about, contact etc. ...
It's a neat solution
If you want the style to change on mouse over, you can add to the CSS another rule:
body#services a#services_link:hover,
body#about a#about_link:hover,
body#contact a#contact_link:hover {
color: red;
background: yellow;
} Hope somewhere in there is what you're seeking, if not try again ...