title: Cannot add a background image to a previous post/next post button in wordpress php
body: <p>I have the following code :</p>
  
  <pre><code>&lt;div class="wrap"&gt;
     &lt;div class="next"&gt;
     &lt;?php next_post('%', 'Next post', 'no'); ?&gt;
  
     &lt;/div&gt;
  
     &lt;div class="prev"&gt;
      &lt;?php previous_post('%', 'Previous post', 'no'); ?&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and after hours of trying i am not able to add an image (small arrow image in png format) instead of "next post" and "previous post"</p>
  
  <p>I tried (in the CSS) background-image: url(../img/arrow-left.png); amongst other things.</p>
  
  <p>It does seem to work however when i create href tags</p>
  
  <pre><code>&lt;a href="#" class="next"&gt;&lt;/a&gt;
  &lt;a href="#" class="prev"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>but the problem is that I cannot embed <code>&lt;?php next_post(); ?&gt;</code> in the href can I ?</p>
  
  <p>like so : " class="next"></p>
  
  <p>which did not work for me..</p>
  
  <p>If you need any more information, please let me know and I will provide it.</p>