...

View Full Version : My RSS feed button does not work in all browsers



jasonc310771
12-28-2007, 11:39 PM
I have a RSS feed button that works in FireFox but not in Internet Explorer.

i have gone back to a previous file for my site until this issue is fixed.

the test page that shows the page working in FF but not in IE can be seen at

www.roundshaw.com/testpage.php

please can someone take a look and advise how i can tweak the code to allow it to also work in IE

thanks in advance for your help.

_Aerospace_Eng_
12-29-2007, 12:13 AM
It would work if your coding wasn't so poor. I'm not going to "clean up" your code for you but adding the necessary markup makes it work. Compare this to what you have now

<!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=utf-8">
<title>Untitled Document</title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="rssmenu.css">
<table width="100&#37;" style="border-collapse:collapse">
<tr>
<td height="100%" valign="bottom" bgcolor="#125892">&nbsp;</td>
<td width="32%" align="left" valign="top" bgcolor="#125892"><div align="right">
<table width="34%" align="left">
<tr>
<td align="left"><div id="rss"><img src="rsslogo.jpg" alt="RSS" id="rss"><br>
<div align="right" id="rssmenu" style="background: rgb(236, 85, 2) url(URL_TO_BG_IMAGE) repeat-x scroll 0% 0%; "> <font size="2">Choose a reader</font>
<ul>
<li><a href="http://www.bloglines.com/sub/http://www.website.com/rss.php?rss=bloglines" style="background-image: url(rss_DD_bloglines.gif); background-position: 2% 50%; background-repeat: no-repeat;">bloglines</a></li>
<li><a href="http://www.google.com/ig/add?feedurl=http%3A%2F%2Fwww.website.com/rss.php?rss=google" style="background-image: url(rss_DD_google.gif); background-position: 2% 50%; background-repeat: no-repeat;">google</a></li>
<li><a href="http://my.msn.com/addtomymsn.armx?m=1&amp;id=rss&amp;ut=http%3A%2F%2Fwww.website.com/rss.php?rss=msn" style="background-image: url(rss_DD_msn.gif); background-position: 2% 50%; background-repeat: no-repeat;">msn</a></li>
<li><a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Fwww.website.com/rss.php?rss=newsgator" style="background-image: url(rss_DD_newsgator.gif); background-position: 2% 50%; background-repeat: no-repeat;">newsgator</a></li>
<li><a href="http://e.my.yahoo.com/config/cstore?.opt=content&amp;.url=http%3A%2F%2Fwww.website.com/rss.php?rss=yahoo" style="background-image: url(rss_DD_yahoo.gif); background-position: 2% 50%; background-repeat: no-repeat;">yahoo</a></li>
</ul>
</div>
</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</body>
</html>


I suggest you read the link in my sig titled "Why Tables for Layout is Stupid?".

Apostropartheid
12-29-2007, 03:45 PM
I also suggest that you go read up about the differences between JPEGs and PNGs/GIFs.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum