Re: Can I make a text rollover with it being a graphic?



johnsonholding@xxxxxxxxx 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

.