Jump to content

this.style.border not working


robert_gsfame

Recommended Posts

What web browser are you testing with? I don't think IE supports mouse over events on TR elements.

 

Also, it would be best practices to wrap these in quotes:

echo "<tr class='style1' onmouseover=\"this.style.border='12px solid #CCCCCC;'\">";

 

I assume you didn't forget the double quote and semi-colon at the end of that line?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.