N
NWx
Hi,
Can someone explain me how can I set a CSS for a hyperlink?
I have the following definitions in .css file
/* definition 1*/
A.HWHeaderLink:hover
{
font-weight: bold;
font-size: 11px;
color: yellow;
font-family: Verdana;
background-color: #6699ff;
}
/* definition 2*/
A.HWHeaderLink:visited, A.HWHeaderLink:active, A.HWHeaderLink:link
{
font-weight: normal;
font-size: 11px;
color: yellow;
font-family: Verdana;
background-color: #0000cc;
}
And I have a hyperlink with cssclass="HWHeaderLink"
If I let those both CSS sections in CSS file , the link always looks as
defined in Definition 2, even if I move mouse over it
If I want the activate the hover effect, I have to remove definition 2, but
in this case hyperlink uses defaults for the page in all cases except hover
case. How should my CSS definitions looks, to be able to define its aspect
in all situations (hover, active, link and visited), and of course, to have
them different.
Thank you
Can someone explain me how can I set a CSS for a hyperlink?
I have the following definitions in .css file
/* definition 1*/
A.HWHeaderLink:hover
{
font-weight: bold;
font-size: 11px;
color: yellow;
font-family: Verdana;
background-color: #6699ff;
}
/* definition 2*/
A.HWHeaderLink:visited, A.HWHeaderLink:active, A.HWHeaderLink:link
{
font-weight: normal;
font-size: 11px;
color: yellow;
font-family: Verdana;
background-color: #0000cc;
}
And I have a hyperlink with cssclass="HWHeaderLink"
If I let those both CSS sections in CSS file , the link always looks as
defined in Definition 2, even if I move mouse over it
If I want the activate the hover effect, I have to remove definition 2, but
in this case hyperlink uses defaults for the page in all cases except hover
case. How should my CSS definitions looks, to be able to define its aspect
in all situations (hover, active, link and visited), and of course, to have
them different.
Thank you