greenday Posted May 22, 2007 Share Posted May 22, 2007 I am using the below styles, which gives me a dotted underline border, and a solid unerline border on hover. However, this also underlines any images that are links, and seams to overright any other CSS rule I give the images! Any ideas appreciated, cheers. a:link { color:#BE0000; border-bottom:1px dashed #BE0000; padding-bottom:1px; text-decoration:none; } a:hover { border-bottom:1px solid #BE0000; } a:visited { color:#E67676; border-bottom:1px solid #E67676; text-decoration:none; } Link to comment https://forums.phpfreaks.com/topic/52446-solved-border-bottom-issuses/ Share on other sites More sharing options...
EKINdesigns Posted May 22, 2007 Share Posted May 22, 2007 did you try to do: img {border:0px;} after all that CSS code? Link to comment https://forums.phpfreaks.com/topic/52446-solved-border-bottom-issuses/#findComment-258789 Share on other sites More sharing options...
ToonMariner Posted May 22, 2007 Share Posted May 22, 2007 no its not that... you need to give these a tags a class. Try giving your links containing an image a class of 'imglink' then in you css AFTER the above declaration put a.imglink { border: none; } Link to comment https://forums.phpfreaks.com/topic/52446-solved-border-bottom-issuses/#findComment-258811 Share on other sites More sharing options...
greenday Posted May 23, 2007 Author Share Posted May 23, 2007 Thanks EKIN, I had tried that, but it didnt work. And thanks toon, I tried that and I have got it to work perfectly! Link to comment https://forums.phpfreaks.com/topic/52446-solved-border-bottom-issuses/#findComment-259497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.