title: Class not working in link
body: <p>Hi I am trying to change the colour of my link in my webpage, the css code is below.</p>
  
  <pre><code>    &lt;style&gt;
       .company_link A:link { 
       color: #dd3333;
       text-decoration: none;
       }
       .company-link A:hover {
       color: #F6CA4C;
       text-decoration: underline;
       }
      .company-link A:visited {
      color: #F6CA4C;
      text-decoration: none;
       }
     .company-link A:active {
     color: yellow;
     text-decoration: none;
      }
    &lt;/style&gt;
  </code></pre>
  
  <p>And here is the link.</p>
  
  <pre><code> &lt;?php echo "&lt;a class=\"company-link\" href=\"company.php?ip={$ip}&amp;id={$id}\"&gt;$company_name_live&lt;/a&gt;";?&gt;&lt;br&gt;&lt;span style="color:#dd3333;"&gt;&lt;?php echo $row['multivisit']; ?&gt;&lt;/span&gt;
  </code></pre>
  
  <p>I have tried putting the class in different places, using single quotes and even attaching the class to the table row, but i just can't seem to change the colour of the link.</p>