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? 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. 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> 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 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
Archived
This topic is now archived and is closed to further replies.