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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onMouseOver and OnMouseOut problem in Netscape

Status
Not open for further replies.

tnsbuff

Technical User
Jan 23, 2002
216
US
Hi there,

I'm trying to exchange background images in a table cell onMouseOver. It works fine in IE, but the onMouseOut doesn't work in Netscape (7.0), although onMouseOver does.

Here's my code:

<table style="background: url('bkg1.gif'); "><tr><td>
<a href="Link1" onMouseOver="this.style.background='url(bkg2.gif)'" onMouseOut="this.style.background='url(bkg1.gif)'">Link1</a></td></tr></table>

What am I missing? :)


 
Never mind. I had the code inside the anchor tag instead of the td tag. :-
Duh!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top