|
got this from another forum
This has what I needed to do the trick:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script type="text/javascript">
function setStyle(where,theclass){
document.getElementById(where).className=theclass;
}
</script>
<style type="text/css">
<!--
.rolloverStyle a {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; line-height: 14px; color: #2a57a5; text-decoration: none;}
.rolloverStyleHover a {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; line-height: 14px; color: #2a57a5; text-decoration: underline;}
-->
</style>
</head>
<body>
<table>
<tr>
<td><A href="theurl.html" onMouseOver="setStyle('testLink','rolloverStyleHov er')" onMouseOut="setStyle('testLink','rolloverStyle')"> <IMG src="imagename.gif" border="1" name="testIcon" alt=""></A></td>
<td><div id="testLink" class="rolloverStyle"><A href="theurl.html">This is the text link.</A></div></td>
</tr>
</table>
</body>
</html>
Thanks to _Aerospace_Eng_
|