PDA

View Full Version : email riddler image border problem



ylbelarus
11-03-2007, 02:05 AM
1) Script Title: email riddler

2) Script URL (on DD): http://www.dynamicdrive.com/emailriddler/

3) Describe problem: I have posted the email riddler on my webpage using an image. Everything works fine in Firefox, however in IE 7, it displays a blue border around the image. How can I make this border invisable in IE7, like I did in Firefox?

Thanks

script below

/*<![CDATA[*/

/***********************************************
* Encrypt Email script- Please keep notice intact
* Tool URL: http://www.dynamicdrive.com/emailriddler/
* **********************************************/
<!-- Encrypted version of: info [at] ****************.*** //-->

var emailriddlerarray=[105,110,102,111,64,121,111,117,110,103,108,105,102,101,98,101,108,97,114,117,115,46,111,114,103]
var encryptedemail_id74='' //variable to contain encrypted email
for (var i=0; i<emailriddlerarray.length; i++)
encryptedemail_id74+=String.fromCharCode(emailriddlerarray[i])

document.write('<a href="mailto:'+encryptedemail_id74+ '"style="color: white"><img src="common/email_icon.gif" alt="Email Us" /></a>')
/*]]>*/

jscheuer1
11-03-2007, 06:09 AM
document.write('<a href="mailto:'+encryptedemail_id74+ '"style="color: white;text-decoration:none;"><img src="common/email_icon.gif" style="border:none;" alt="Email Us" /></a>')

ylbelarus
11-04-2007, 05:05 AM
Thanks jscheuer1 for your post.
Works perfectly in IE7 now!