Mark H Posted October 15, 2010 Share Posted October 15, 2010 Hi all,I tried a search for this as I know it's basic stuff, but couldn't find anything.I've added an image to my site which includes a link (it's actually a Follow me button for Digg), yet in most browsers it has a border around it. How do I set this up so that the border isn't displayed? I'm presuming it is working like any other scr= image.Thanks,Mark. Link to comment Share on other sites More sharing options...
justinbriggs1 Posted October 15, 2010 Share Posted October 15, 2010 I think you are referring to the dotted borders when you click the link, so:a:active { outline: none;} Link to comment Share on other sites More sharing options...
Synook Posted October 15, 2010 Share Posted October 15, 2010 He think he means the blue border that occurs when images are surround by anchor tags. You can remove it by doing: a img { border:0px;} Link to comment Share on other sites More sharing options...
Drycodez Posted October 15, 2010 Share Posted October 15, 2010 a img { border:0px;} Is the currect way to remove the blue border around your image. Link to comment Share on other sites More sharing options...
Mark H Posted October 15, 2010 Author Share Posted October 15, 2010 Thanks guys. I knew it was really simple but not as simple as that!(Oh, yes, it is the blue border, not the click border.)Mark. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.