Do I need to have a class definition if I am just using it for links?
For example, I have the following class - MenuLinks - that I want to use in my menu. This is the only place I am going to use it. I set up the following:
.MenuLinks a:link:visited
{
font-family: Arial, Helvetica, sans-serif;
color: white;
font-size: xx-small;
text-decoration: none;
}
Do I also have to have the following?
.MenuLinks
{
font-family: Arial, Helvetica, sans-serif;
color: Blue;
font-size: xx-small;
decoration: none;
}
Thanks,
Tom
For example, I have the following class - MenuLinks - that I want to use in my menu. This is the only place I am going to use it. I set up the following:
.MenuLinks a:link:visited
{
font-family: Arial, Helvetica, sans-serif;
color: white;
font-size: xx-small;
text-decoration: none;
}
Do I also have to have the following?
.MenuLinks
{
font-family: Arial, Helvetica, sans-serif;
color: Blue;
font-size: xx-small;
decoration: none;
}
Thanks,
Tom