ronpat
April 8, 2017, 12:47pm
5
Daz1966,
You may want to try the matching pairs technique. In this old example I am linking to, I used an ID in the <body>
tag, nowadays I use a classname instead.
mslee,
I believe that the following two examples address your issue. And I am guessing that the reason the pages you were referred to didn’t help is that you do not quite appreciate specificity (thus, I have included TWO examples).
Note that classnames were added to all of the list items AND the <body> tag has been given an id.
The first example uses your code and demonstrates how to override the link coloring on each page with the !important property. However, it is usually unnecessary.
T…
3 Likes