Visited link in css
  • hello i am working on a website as a college project

    i want when the visitors click on any link so the visited link should b highlighted until the visitors visits next page
  • 2 Comments sorted by
  • Hello hussain.
    Please use following trick,.
    in HTML Write Code as or Similar to this one

    <a href="#" class="current">My Link</a>

    and in CSS write this
     .current{ color:#FFF;
    /*Add more styles here*/}

    OR use this in Html
    <li class="current"><a href="#"> My link </a> </li>

    and then use the CSS same as above
  • Vote Up0Vote Down sajiddesignersajiddesigner
    143.00 Karma Accepted Answer
    Please download and read attached file for samples.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week