If you're looking for a great way to spice up your HTML tables, this HTML mouseover code may be just what you're looking for. You can also change background color in this code.
<!-- This Script is Coded by: Umais Bin Sajjad-->
<TABLE BORDER="2" CELLPADDING="2" WIDTH="100%">
<TR onMouseover="this.bgColor='#EE EEEE'"onMouseout="this.bgColor ='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#EE EEEE'"onMouseout="this.bgColor ='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#EE EEEE'"onMouseout="this.bgColor ='#FFFFFF'">
<TD>Your Table Data</TD>
</TR>
</TABLE>
Demo
<TABLE BORDER="2" CELLPADDING="2" WIDTH="100%">
<TR onMouseover="this.bgColor='#EE
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#EE
<TD>Your Table Data</TD>
</TR>
<TR onMouseover="this.bgColor='#EE
<TD>Your Table Data</TD>
</TR>
</TABLE>
| Your Table Data |
| Your Table Data |
| Your Table Data |
No comments:
Post a Comment