[FX.php List] [off] simple CSS question
Andy Gaunt
andy at fmpug.com
Thu Jun 27 12:48:04 MDT 2013
Bob,
If you apply a class to the link then it will use that style because it has more weight in the CSS than just your regular link styling.
e.g.
a:link {
color:#FFFFFF;
text-decoration: none;
font-weight: bold;
cursor:pointer;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
}
a:hover {
text-decoration: underline;
color:#00FF00;
font-weight: bold;
cursor:pointer;
}
a:active {
text-decoration: none;
color: #FF0000;
font-weight: bold;
}
New class for alternate links.
a.secondary_style:link {
color:#DDD;
text-decoration: none;
font-weight: bold;
cursor:pointer;
}
a.secondary_style:visited {
color: #EEE;
}
a.secondary_style:hover {
color:#FFF;
}
a.secondary_style:active {
color: #DDD;
}
Cheers
- Andy
On Jun 27, 2013, at 2:39 PM, Roger Moffat <rogerkiwi at mac.com> wrote:
>
> On Jun 27, 2013, at 2:14 PM, Bob Patin wrote:
>
>> Solved... I just wrapped the link in a SPAN tag.
>>
>> Is there a way to do it in the stylesheet instead? In other words, could I have a separate of link definitions that I could invoke on desired links?
>
> If on that one page you can call another stylesheet after the first one, then you can put the differences in to a second stylesheet, and only that page would call it.
>
> Roger_______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list