Yuck Posted February 17, 2005 Share Posted February 17, 2005 A section of the code in my includes\footer.php...... http://www.oscommerce.com/community.php/faq,26/q,50 Please leave this comment intact together with the following copyright announcement. */ echo FOOTER_TEXT_BODY ?> <br> <html> <!-- NOCHEX LOGO START --> <a href="http://www.nochex.com" target="_blank"> <img src="http://support.nochex.com/web/images/cardsboth2.gif" border="0" width="147" height="63" alt="We accept payments using NOCHEX"></a> <!-- NOCHEX LOGO FINISH --> <!-- Begin add paypal and cc logos by alancwade --> <!--Spam Buster added by Kelly Keeton (www.eshopping4less.com)--> <script LANGUAGE="Javascript"> // Change User Name and Domain Name username="user" at="@" domainname="mysite.com" // End of Change document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='https://www.paypal.com/images/verification_seal.gif'></a>") </script> <!-- End add paypal and cc logos by alancwade --> </html> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> It works just fine except I'm getting an annoying blue border (1 or 2 pixels wide) around the Paypal logo. I would also ideally like to add some alt text to the Paypal logo. Anyone got any ideas how to acheive this? It's the java thats making it difficult for me :/ Link to comment Share on other sites More sharing options...
Guest Posted February 17, 2005 Share Posted February 17, 2005 Try changing: document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='https://www.paypal.com/images/verification_seal.gif'></a>") to document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='https://www.paypal.com/images/verification_seal.gif' border="0"></a>") Note: Additional border attribute. Link to comment Share on other sites More sharing options...
Yuck Posted February 18, 2005 Author Share Posted February 18, 2005 This was one of the methods I tried. The image does not display at all with that code. Thanks for the try though :thumbsup: Try changing: document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='https://www.paypal.com/images/verification_seal.gif'></a>") to document.write("<A HREF='https://www.paypal.com/verified/pal="+username+""+at+""+domainname+"'><img src='https://www.paypal.com/images/verification_seal.gif' border="0"></a>") Note: Additional border attribute. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2005 Share Posted February 18, 2005 Also try checking CSS settings for your anchor. Link to comment Share on other sites More sharing options...
Yuck Posted February 18, 2005 Author Share Posted February 18, 2005 Also try checking CSS settings for your anchor. <{POST_SNAPBACK}> Well I checked stylesheet.css, there doesn't seem to be anything there that might be affecting this. I looked through the whole file, changing any borders that may have been affecting this to 0, no joy. Any more clues would be appreciated. Link to comment Share on other sites More sharing options...
Yuck Posted February 21, 2005 Author Share Posted February 21, 2005 I've checked everything in my stylesheet.css , nothing seems to make any difference to this. It's really annoying me because it's making my homepage look untidy. If anyone has a clue what might be causing it I'd really appreciate it. I can post any additional code required. Cutting out the java is an option but then I'm leaving myself open to spamming. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.