In this example I'm gonna assign style1 to have a link/visited/hover. The bold code is changed/added(btw, I cleaned up your code for you, but you also might consider a adding DOCTYPE

).
Now, I'm not the best with CSS, but if you have a link with the class of style1 it should change the color for the hover & visited.