CSS Pseudoclass -
06-03-2008
, 03:21 PM
Hi all -
I am using a small third party DIV with the ID fadebox which is styled with
the top portion of the CSS pasted below.
I added all the link styling but I still get default link colors. I've
tried with a dot in front as well as a dor in front and after "fadebox" and
still no joy.
All guidance appreciated.
<style type="text/css">
<!--
#fadeinbox{
position:absolute;
width: 200px;
left: 0;
top: -400px;
border: 1px solid black;
background-color: #DDDDDD;
padding: 4px;
z-index: 100;
visibility:hidden;
font-family: Arial, Helvetica, sans-serif;
}
fadeinbox a:link {
text-decoration: underline;
color: #990000;
font-size: 12px;
}
fadeinbox a:visited {
text-decoration: underline;
color: #990000;
font-size: 12px;
}
fadeinbox.hover {
text-decoration: none;
color: #990000;
font-size: 12px;
}
fadeinbox a:active {
text-decoration: underline;
color: #990000;
font-size: 12px;
}
-->
</style> |