Bev

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromBev
ToMe
SubjectCSS ??
Date16 April 2003 04:50 PM
Hiya,
 
Just a quick q?
 
I have the following CSS tags defined and I am trying to "turn off" the
HOVER for the "aoff" class but when I apply it to the
<a.. class="aoff"... nothing happens, is the CSS for aoff look OK??
 
<!--
 a.aoff:hover {border: none; background-color: none; color: none;}
 
 a:hover {
 background-color: #0000cc;
 color: #ffffff;
 border: thin none Blue;} 
   
 .smalltxt {
 font-family: "Bodoni MT", Verdana, sans-serif;
 font-size: 6pt;
    }
 
    body, div, th, td, form, p, li, ul, ol {
 font-family: "Bodoni MT", Verdana, sans-serif;
 font-size: 14px;
    }
 
    h1, h2, h3, h4, h5, h6 {
 font-family: "Bodoni MT", Verdana, sans-serif;
 text-transform: none;
    }
-->
 
Rgds
Bev
FromMe
ToBev
SubjectRe: CSS ??
Date16 April 2003 10:40 PM
I think your problem is that you are using 'none' for colours. As far as I
know, 'none' is not a valid colour, so it will be ignored. I suggest you try
specifying an actual colour, or try using 'inherit' - not sure what effect
'inherit' will have in this case ... I take it that the border is disappearing
though? if not, you might want to try '0px solid #fff;' or something like that,
to force the border to be off. let me know :)


Tarquin
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.