hi... I have a code for li a :link, li a:hover and lia:visited .the code is give n below. if I click on a link it will become visited link and after that a:hover is not working.pls help.
Try putting your a:hover styles after the a:visited styles. The order matters when defining the pseudo-selectors. Always try to have them in the following order in your code: a:link { } a:visited { } a:hover { } a:active { }
I think there is an a:focus too that should go in there somewhere after link and visited, if you need to use it. I don't THINK it works on IE though (just a hunch).