Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    478
    Thanks
    3
    Thanked 0 Times in 0 Posts

    My RSS feed button does not work in all browsers

    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.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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
    Code:
    <!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?".
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    I also suggest that you go read up about the differences between JPEGs and PNGs/GIFs.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •