Jump to content

a:active


lew2937

Recommended Posts

a:active seems to be working ok for me on your site. And you're written it correctly. Maybe you don't understand the active state: active is when the mouse is down on the link.Also, you've applied the same color to the hover link as the active one, so you wouldn't notice the difference.

Link to comment
Share on other sites

Well, I guess javascript can do it.

function init() {   a = document.getElementsByTagName("a");   for(i=0;i<a.length;i++) {	  if(location.href.indexOf(a[i].href) != -1) {		 a[i].style.color = "white";	  }   }}window.onload = init;

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...