zeidhaddadin Posted April 21, 2007 Share Posted April 21, 2007 Hi all,I'm wondering how can i do two types of Hover for links in one page..I want to give 1 link a special hover effect and the others another effects.This is for all in page:a:link, a:active, a:visited {color : #FFFFFF;}a:hover {color : #000000;} Link to comment Share on other sites More sharing options...
boen_robot Posted April 21, 2007 Share Posted April 21, 2007 By giving the special link(s) a class or ID if it's only one. Then, in CSS, you'll specifically target only links with that class like a.whateverClassNameYouWant:hover or ID #whateverIDYouWant:hover The (X)HTML code would be as follows: <a class="whateverClassNameYouWant"></a><a id="whateverIDYouWant"></a> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now