Orionsbelter Posted February 3, 2009 Share Posted February 3, 2009 hello, ok, i have this code a{text-decoration:none; color:black; font-size: 11px; font-weight: bold;} a:link{text-decoration:none; color:#00CCFF; font-size: 11px; font-weight: bold;} a:visited{text-decoration:none; color:#00CCFF; font-size: 11px; font-weight: bold;} a:hover{text-decoration:underline; color:red; font-size: 11px; font-weight: bold;} a:active{text-decoration:none; color:#00CCFF; font-size: 11px; font-weight: bold;} which i like to use for text links how ever when i have a image as a link i get a #00CCFF coloured border around it how do i stop this? Quote Link to comment https://forums.phpfreaks.com/topic/143669-help-with-link-on-image/ Share on other sites More sharing options...
aebstract Posted February 3, 2009 Share Posted February 3, 2009 border="0" in your img tag, though the question nor the code you posted has anything to do with php at all. Quote Link to comment https://forums.phpfreaks.com/topic/143669-help-with-link-on-image/#findComment-753811 Share on other sites More sharing options...
RichardRotterdam Posted February 3, 2009 Share Posted February 3, 2009 <style> a img { border: none; } </style> Quote Link to comment https://forums.phpfreaks.com/topic/143669-help-with-link-on-image/#findComment-753835 Share on other sites More sharing options...
Orionsbelter Posted February 3, 2009 Author Share Posted February 3, 2009 you star Quote Link to comment https://forums.phpfreaks.com/topic/143669-help-with-link-on-image/#findComment-753881 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.