Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change style onMouseOver ??? 2

Status
Not open for further replies.

elegidito

Programmer
Jan 19, 2002
358
is there a way to change the style of an <input type=&quot;text&quot;> onMouseOver?...
 
Like this you mean? :

<style type=&quot;text/css&quot;>
<!--
.normal {
background-color: #FFFFFF;
}
.over {
background-color: #999999;
}
//-->
</style>

<input type=&quot;text&quot; class=&quot;normal&quot; onMouseOver=&quot;this.className='over'&quot; onMouseOut=&quot;this.className='normal'&quot;> Regards

Big Bad Dave

davidbyng@hotmail.com
 
BigBadDave,

Thanks for your code, but it only works in IE. Do you have any code for that &quot;other&quot; browser?

fegnshui_1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top