Ruth Posted April 23, 2008 Share Posted April 23, 2008 I need my mailto links underlined but no every link. Is there a way to do this in css? Could I do a:mailto { text-decoration: underline } Link to comment https://forums.phpfreaks.com/topic/102516-email-link/ Share on other sites More sharing options...
Ruth Posted April 23, 2008 Author Share Posted April 23, 2008 Never mind I got it by doing a[href ^=mailto:] { text-decoration:underline; } Link to comment https://forums.phpfreaks.com/topic/102516-email-link/#findComment-524873 Share on other sites More sharing options...
activeserver Posted April 24, 2008 Share Posted April 24, 2008 Hey, nice. New to me. Thanks for posting. I would have used a CSS class for those 'a' elements that I needed to handle this way... Link to comment https://forums.phpfreaks.com/topic/102516-email-link/#findComment-525812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.