I'm working in a DNN environment where the default style sheet which every site loads sets styles for pseudo-classes. I could edit the default style sheet, but since this is stock and comes with all upgrades, I'd prefer to leave it alone and override their styles at the skin level.
Does anyone know of a solution to get all these pseudo classes to start listening to the standalone element again?
A:link
{
text-decoration: none;
color: #003366;
}
A:visited
{
text-decoration: none;
color: #003366;
}
A:hover
{
text-decoration: underline;
color: #ff0000;
}
A:active
{
text-decoration: none;
color: #003366;
}
Also, would a:hover {}
always beat out selector a {}
no matter how strong selector
is?
EDIT: I'm not wanting to use !important as I'll have to use important everywhere, and I don't want to embed any style to the document.
My presumption is that a:link{text-decoration:none;} will only ever be overridden with the same pseudo class and my hope is that there's a way around having to always define pseudo classes to every a tag.