arundathi Posted January 13, 2010 Share Posted January 13, 2010 Hi guys. I'm new to Web Page Development and I've got a simple question that I need help with. I made a jpeg image a hyperlink for my welcome page. My problem is that there's a purple border around the image now that it's a link. I've tried using style="color: black" on the anchor <a> tag as well as in the <img src> tag. I use Adobe dreamweaver and it disappears on the development environment but not when I display it on my browser. I'm not sure if it's a browser issue. Can anyone tell me if it's an issue with IE 7.0 or can anyone give me suggestions on how to make the purple border disappear..forever?! Thanks in advance to anyone who shares his vastly superior knowledge with me. Quote Link to comment https://forums.phpfreaks.com/topic/188294-can-anyone-make-the-link-border-disappear/ Share on other sites More sharing options...
haku Posted January 13, 2010 Share Posted January 13, 2010 a img {border:none} should do the trick. Quote Link to comment https://forums.phpfreaks.com/topic/188294-can-anyone-make-the-link-border-disappear/#findComment-994043 Share on other sites More sharing options...
PravinS Posted January 13, 2010 Share Posted January 13, 2010 Use like this <a href="#"><img src="" border="0"></a> Quote Link to comment https://forums.phpfreaks.com/topic/188294-can-anyone-make-the-link-border-disappear/#findComment-994044 Share on other sites More sharing options...
asunsha Posted January 22, 2010 Share Posted January 22, 2010 You just have to add border: none or border: 0 to your images in your css file img {border: none} That should keep the border from showing up. If you just want to give it another color you can use img {border-color: "your color here"} Hope that helps. Quote Link to comment https://forums.phpfreaks.com/topic/188294-can-anyone-make-the-link-border-disappear/#findComment-999740 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.