B
Brett Baisley
Hey
I am working on a css style for a page. I created something that looks like
this:
..navLink
{
font-family: arial; font-size: 10pt; color: black; text-decoration: none;
}
that is set for a block of text on the page like this:
<span class="navLink">
Home | Pictures | About
</span>
What I want to know, is that some of this text will be links to other pages.
I want to create a style for them so that they look different (ie: different
color, no underline) then the rest of the text, but I don't want to change
the rest of the other links on the page. Therefore I can't change a{...} as
this will change all of the links.
Is there a way, and if so how, can you write this? Something like
..navLink.a
{
font-family: arial; font-size: 12pt; color: red; text-decoration: none;
}
would be nice.
Thanks
I am working on a css style for a page. I created something that looks like
this:
..navLink
{
font-family: arial; font-size: 10pt; color: black; text-decoration: none;
}
that is set for a block of text on the page like this:
<span class="navLink">
Home | Pictures | About
</span>
What I want to know, is that some of this text will be links to other pages.
I want to create a style for them so that they look different (ie: different
color, no underline) then the rest of the text, but I don't want to change
the rest of the other links on the page. Therefore I can't change a{...} as
this will change all of the links.
Is there a way, and if so how, can you write this? Something like
..navLink.a
{
font-family: arial; font-size: 12pt; color: red; text-decoration: none;
}
would be nice.
Thanks