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 Toby Inkster on 01/11/06 09:42

johnsonholding@yahoo.com wrote:

> Ok, thanks I am starting to get some of it. I noticed it is pretty
> complicated, but I am just trying to turn on the underlining when the
> mouse moves on it, but have it off before the mouse hits it.

This should do what you want:

<style type="text/css">
a:link {
background-color: transparent;
color: blue;
text-decoration: none;
}
a:visited {
background-color: transparent;
color: purple;
text-decoration: none;
}
a.focus,
a:hover {
background-color: transparent;
color: red;
text-decoration: underline;
}
</style>

though I'd suggest that the following is probably more appropriate:

<style type="text/css">
a:link {
background-color: transparent;
color: blue;
text-decoration: underline;
}
a:visited {
background-color: transparent;
color: purple;
text-decoration: underline;
}
a.focus,
a:hover {
background-color: transparent;
color: red;
text-decoration: none;
}
</style>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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