|  | Posted by Rob McAninch on 01/10/06 20:34 
"Alan J. Flavell" <flavell@physics.gla.ac.uk> wrote in<news:Pine.WNT.4.64.0601101455360.784@ZORIN> :
 
 >
 > On Tue, 10 Jan 2006, Beauregard T. Shagnasty wrote:
 >
 >> a:hover {
 >>    background-color: #ffffcc;
 >>    color: #3399cc; }
 >
 > Just a routine warning that if you use <a name="xxx"> [...]
 >
 > a:link:hover may be a safer selector to use for this, in
 > general.
 
 Thanks for pointing that out.
 
 You may also want to use a:visited:hover in this situation, which
 will allow you to have the :hover take effect regardless of the
 link state.
 
 So for the op:
 
 A:link {text-decoration: underline;
 color: #09f;
 background: transparent;
 }
 
 Then repeat with: visited, link:hover, visited:hover, active in
 place of 'link' (in that order). And change the properties
 accordingly.
 
 --
 Rob McAninch
 http://rock13.com
  Navigation: [Reply to this message] |