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
    hussainroyal
  • 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;
    background:#000;
    /*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.
    CurrentItem.zip
    3K

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

Top Posters Weekly

Optimum Creative