Page 1 of 1

css on visited link is not working in Firefox

Posted: Mon Jun 10, 2013 7:06 am
by Lphp
I want the visit link have different color , the following code only work on ie not Firefox, what can i do ? :cry:

Code: Select all

<style type="text/css"> 
   @media screen{
       a:link {
          
           font-family: verdana;
           font-size: 9pt;
           color: black;           
           text-decoration: none;
            background-color: white;
       }
       
      a:visited { text-decoration: line-through;
                  font-size: 7pt; background:lime;}
     
   }


Re: css on visited link is not working in Firefox

Posted: Mon Jun 10, 2013 10:31 am
by AbraCadaver
Is there more CSS? Maybe another style is more specific and overriding that one.

Re: css on visited link is not working in Firefox

Posted: Mon Jun 10, 2013 9:38 pm
by Lphp

Code: Select all

<style type="text/css">
    @media print{
       .NonPrint{  display: none;}  
    }
  </style>
<style type="text/css"> 
   @media screen{
       a:link {
           /* Applies to links */
           font-family: verdana;
           font-size: 9pt;
           color: black;           
           text-decoration: none;
            background-color: white;
       }
       
      a:visited { text-decoration: line-through;
                  font-size: 7pt; background:lime;}
     
   }
    
</style>


<p class="NonPrint"><a href=${PAGE}?PageNum=$p> $p </a>