knowram Posted January 31, 2007 Share Posted January 31, 2007 I am not to javascript and have just started finding bits of code online and trying to add them to my site. I found a image rotator at http://javascript.internet.com/miscellaneous/random-image-rotator.html and a image viewer at http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm I was able to integrate them into my site and everything looked great in Safari but when I went to check it on a pc there is a orange square around the images. I would like to get rid of it if possible. the links are http://quest-productions.com/sound.php and http://quest-productions.com/imagepage/audio.php thanks for any help Quote Link to comment Share on other sites More sharing options...
knowram Posted February 1, 2007 Author Share Posted February 1, 2007 I found the problem but I still don't know how to fix it. I have it set so that all of my links have a color other then blue but when I use an image as a link it uses that color as a border around the image (only in IE). is there anyway of stopping this from happening? Quote Link to comment Share on other sites More sharing options...
knowram Posted February 1, 2007 Author Share Posted February 1, 2007 more info on the problem. It only happens when I have either a transparent border in the image or use padding around the image. Quote Link to comment Share on other sites More sharing options...
knowram Posted February 1, 2007 Author Share Posted February 1, 2007 solution: use onclick for the link Quote Link to comment Share on other sites More sharing options...
knowram Posted February 1, 2007 Author Share Posted February 1, 2007 so that salved it for part of the site. on the second page I am using a javascript to load an image viewer it uses a rel="" tag to reference the javascript. but sense I am using padding around the images and have that problem with the link color I am trying to use an onclick command to triger that link but i don't know how to a the rel="" tag into the onclick command. any one know how? Quote Link to comment Share on other sites More sharing options...
knowram Posted February 1, 2007 Author Share Posted February 1, 2007 now i really did salve the problem the key was simple add border="0" to the <a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.