title: Adding background to unvisited links
body: <p>I am trying to add an icon to all unvisited links on a particular Wordpress category page.</p>
  
  <p>Here is the CSS code I'm using.  I have put it at the bottom of my last CSS file.</p>
  
  <pre><code>.category-xyzzy .entry-title a:link {
  background-image: url("/new-star.png");
  background-repeat: no-repeat;
  color: pink;
  }
  
  .category-xyzzy .entry-title a:visited {
  background: none;
  }
  </code></pre>
  
  <p>The weird thing is that the background image is being added to all links (visited or unvisited) but the pink colour is only being applied to the unvisited links. </p>
  
  <p>This is happening in multiple browsers.</p>
  
  <p>The fact that only the unvisited links are being coloured pink would seem to indicate that my first selector is working properly, but I can't understand why the background image, which appears in the same CSS rule and nowhere else is being applied to all links.</p>
  
  <p>In fact I only added the second rule which matches against a:visited as an attempt to force the issue.  The problem occurs whether the second rule is specified or not.</p>