
Originally Posted by
DigitalBrit
In the following simple example
http://www.digitalbrit.com/html/why.html why is it that the email and google links attract some of the same behaviour as the navigation items? Click the email link to see what I mean.
You seem to think that one can prefix a list of selectors. For instance,
Code:
#address a:link, a:visited, a:active {
text-decoration: none;
}
is the same as
Code:
#address a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
There are an additional four rules that are written like that, and all are presumably unintended.
The first rule above should be:
Code:
#address a:link, #address a:visited, #address a:active {
text-decoration: none;
}
I don't understand your second question, so I can't help you there.
Bookmarks