Jtech Posted December 17, 2006 Share Posted December 17, 2006 I have made a roll-over with Css and it works superb ... but thats not what i need help with ... Any way,... I need help to assign roll-overs to one link rather that every time i make a link its gets the roll-over. i just want one link to have the rollover and the rest of the links to be normal links ... i have tryed to assign <style type="text/css"> <!-- a[href="#"][title="asd"] { color:#00000; } --> </style> <a href="#" title="asd"></a>but it doesnt work it wont overide the roll-over and doesnt give it the color Quote Link to comment https://forums.phpfreaks.com/topic/31001-alink-avisited-and-ahover-script/ Share on other sites More sharing options...
wildteen88 Posted December 17, 2006 Share Posted December 17, 2006 Just give the link a class nameExample:[code]<style>a.specialLink:link, a.specialLink:visited, a.specialLink:active { color: #333; font-weight: bold;}a.specialLink:hover { color: #f00; text-decoration: underline;}</style><a href="#" class="specialLink">Special Link</a> | <a href="#">Non special</a> | <a href="#">Non special</a>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/31001-alink-avisited-and-ahover-script/#findComment-143054 Share on other sites More sharing options...
Jtech Posted December 17, 2006 Author Share Posted December 17, 2006 Thnks w:Drks perfectly Quote Link to comment https://forums.phpfreaks.com/topic/31001-alink-avisited-and-ahover-script/#findComment-143062 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.