Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Simple MouseOver problem

I am trying to use the OnMouseOver to make my links react like the links in
this newsgroup. I can not get them to work. Here is what I have.

<HEAD>
<STYLE><!--
A {text-decoration: none;}

.underline {text-decoration: underline;}
.nounderline {text-decoration: none;}
//-->
</STYLE>
</HEAD>

<form>
<a href="NextPage.asp" onMouseOver="this.style='underline'" onMouseOut="this.style='nounderline'">Go
to the next page</a>
</form>

I get a message that 'underline' and 'nounderline' is not found.

TIA
Nate
[684 byte] By [Nate] at [2007-11-9 16:15:24]
# 1 Re: Simple MouseOver problem
You might want to try to get rid of those periods first. If that doesn't
work, rename what you have and test.

"Nate" <nkane@enak.com> wrote:
>
>I am trying to use the OnMouseOver to make my links react like the links
in
>this newsgroup. I can not get them to work. Here is what I have.
>
><HEAD>
><STYLE><!--
>A {text-decoration: none;}
>
>.underline {text-decoration: underline;}
>.nounderline {text-decoration: none;}
>//-->
></STYLE>
></HEAD>
>
><form>
><a href="NextPage.asp" onMouseOver="this.style='underline'" onMouseOut="this.style='nounderline'">Go
>to the next page</a>
></form>
>
>I get a message that 'underline' and 'nounderline' is not found.
>
>TIA
>Nate
tom at 2007-11-11 23:36:52 >