Here is a snippet of html code used in Dreamweaver CS4 to place a download link in a table. The PDF download works correctly in all browsers but the Excel file download does not work in IE8. MS Internet Explorer tries to open/download the MS Excel file as a zip archive. Go figure.
<tr>
<td width="50%" scope="col"><div align="center">Read more in the downloadable file(s):</div></td>
<td><div align="center"><a href="Downloads/Numberz-20100228.xlsx"><img src="Images/excel-icon.jpg" alt="na" name="xlsx" width="25" height="22" id="xls" /></a></div></td>
<td><div align="center"><a href="Downloads/Commentz-20100228.pdf"><img src="Images/pdf-icon.gif" alt="na" name="pdf" width="32" height="32" id="pdf" /></a></div></td>
</tr>
Anyone have a clue why Microsoft can't recognize one of its own file types?
Is there a better way to code this?