NewComputer
Aug 15th 2004, 3:23 pm
Can I use it to clean up the following image over code:
<a href="http://www.newcomputer.ca" onMouseOver="MM_swapImage('Image1','','/Images/home_over1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/Home.gif" alt="Return to the homepage of New Computer.ca with this button" name="Image1" width="91" height="31" border="0" id="Image1" ></a></td>
<td><a href="http://www.newcomputer.ca/about_us.htm" onMouseOver="MM_swapImage('Image40','','/Images/about_us_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/Images/about_us.gif" name="Image40" width="97" height="31" border="0"></a></td>
<td><a href="http://www.newcomputer.ca/rates.htm" onMouseOver="MM_swapImage('Image4','','/Images/our_rates_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/our_rates.gif" alt="Return to the rates page of New Computer.ca with this button" name="Image4" width="119" height="31" border="0"></a></td>
<td><a href="http://www.newcomputer.ca/specials.htm" onMouseOver="MM_swapImage('Image5','','/Images/our_specials_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/our_specials.gif" name="Image5" width="125" height="31" border="0" id="Image5" ></a></td>
<td><a href="http://www.newcomputer.ca/upgrades.htm" onMouseOver="MM_swapImage('Image6','','/Images/pc_upgrades_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/pc_upgrades.gif" name="Image6" width="139" height="31" border="0" id="Image6" ></a></td>
<td><a href="http://www.newcomputer.ca/purchases.htm" onMouseOver="MM_swapImage('Image7','','/Images/new_computer_purchase_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/new_computer_purchase.gif" name="Image7" width="155" height="31" border="0" id="Image7" ></a>
I would like to clean this code up using css, just wondering if it possible.
<a href="http://www.newcomputer.ca" onMouseOver="MM_swapImage('Image1','','/Images/home_over1.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/Home.gif" alt="Return to the homepage of New Computer.ca with this button" name="Image1" width="91" height="31" border="0" id="Image1" ></a></td>
<td><a href="http://www.newcomputer.ca/about_us.htm" onMouseOver="MM_swapImage('Image40','','/Images/about_us_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="/Images/about_us.gif" name="Image40" width="97" height="31" border="0"></a></td>
<td><a href="http://www.newcomputer.ca/rates.htm" onMouseOver="MM_swapImage('Image4','','/Images/our_rates_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/our_rates.gif" alt="Return to the rates page of New Computer.ca with this button" name="Image4" width="119" height="31" border="0"></a></td>
<td><a href="http://www.newcomputer.ca/specials.htm" onMouseOver="MM_swapImage('Image5','','/Images/our_specials_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/our_specials.gif" name="Image5" width="125" height="31" border="0" id="Image5" ></a></td>
<td><a href="http://www.newcomputer.ca/upgrades.htm" onMouseOver="MM_swapImage('Image6','','/Images/pc_upgrades_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/pc_upgrades.gif" name="Image6" width="139" height="31" border="0" id="Image6" ></a></td>
<td><a href="http://www.newcomputer.ca/purchases.htm" onMouseOver="MM_swapImage('Image7','','/Images/new_computer_purchase_over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="Images/new_computer_purchase.gif" name="Image7" width="155" height="31" border="0" id="Image7" ></a>
I would like to clean this code up using css, just wondering if it possible.