<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en">
<HTML>
<Head>
<Title> use JavaScript (onmouseover/onmouseout) 2 in CSS styles </title>
<Meta name = "generator" content = "editplus">
<Meta name = "author" content = "">
<Meta name = "keywords" content = "">
<Meta name = "Description" content = "">
<Style type = "text/CSS">
Table
{
Background-color: #000000;
Cursor: hand;
}
TD
{
/* Set the onmouseover event */
Onmouseover: expression (onmouseover = function () {This. style. bordercolor
= 'Blue'; this. style. Color = 'red'; this. style. backgroundcolor = 'yellow '});
/* Set the onmouseout event */
Onmouseout: expression (onmouseout = function ()
{This. style. bordercolor = ''; this. style. Color =''; this. style. backgroundcolor
= ''});
Background-color: # ffffff;
}
</Style>
</Head>
<Body>
<Table cellspacing = '1px 'border = '1'>
<Tr>
<TD> 1... </TD>
<TD> 2... </TD>
<TD> 3... </TD>
</Tr>
<Tr>
<TD> 4 ...... </TD>
<TD> 5... </TD>
<TD> 6... </TD>
</Tr>
</Table>
</Body>
</Html>