robert_gsfame Posted November 19, 2009 Share Posted November 19, 2009 If i have this code <a href="#"><img src="image1.JPG" width=200 height="200" border="0"></a> Then when it is clicked, there will be a border surrounded the image...can i remove the border using CSS?? thx in advance Quote Link to comment Share on other sites More sharing options...
vinpkl Posted November 19, 2009 Share Posted November 19, 2009 r u seeing a black doted border or blue border. vineet Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted November 19, 2009 Author Share Posted November 19, 2009 black dots... Quote Link to comment Share on other sites More sharing options...
vinpkl Posted November 19, 2009 Share Posted November 19, 2009 thats browser default behavior. cant be removed. vineet black dots... Quote Link to comment Share on other sites More sharing options...
haku Posted November 19, 2009 Share Posted November 19, 2009 It can be removed, but it shouldn't be as it's used for accessibility for people using keyboards. It sucks trying to navigate a page when someone has removed the border. Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted November 19, 2009 Author Share Posted November 19, 2009 when you click on one of menu on Phpfreaks forum menu bar, you will not get any border once clicked..That's what i'm looking for Quote Link to comment Share on other sites More sharing options...
isedeasy Posted November 19, 2009 Share Posted November 19, 2009 I would listen to haku but if you really want to do it then this should work... a:focus { outline:none; } Although I would not suggest doing it for every link on your page. Quote Link to comment Share on other sites More sharing options...
robert_gsfame Posted November 19, 2009 Author Share Posted November 19, 2009 thx everyone Quote Link to comment Share on other sites More sharing options...
haku Posted November 19, 2009 Share Posted November 19, 2009 when you click on one of menu on Phpfreaks forum menu bar, you will not get any border once clicked. I hate that about this site! I can't use it without a mouse. 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.