You are here: Re: Can I make a text rollover with it being a graphic? « HTML « IT news, forums, messages
Re: Can I make a text rollover with it being a graphic?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация