JSFiddle - React, Tailwind, and code Playground
by ChrisStanyon
HTML
<table width="100%" cellpadding="2" cellspacing="0">
<tr><td class="leftNavFormat"><a class="black" href="Default.aspx">Home</a></td></tr>
</table>
CSS
a.black:hover,a.black:active
{
color:white;
background:black;
}
td { border: 1px solid green; }
JavaScript
$('.black').hover(
function() { $(this).css('background-color', 'blue')},
function() { $(this).css('background-color', 'red')}
)