title: How do I add background images in a JSF application using richfaces and CSS?
body: <p>I'm making a website Using JSF and richfaces, but I need to do some background images on the drop down menu labels.  I saw you can use the style attribute by doing</p>
  
  <pre><code>.rich-ddmenu-label {
  
      background-image: url("images/the_image.gif");
  
  }
  </code></pre>
  
  <p>But that doesn't seem to even try and put a image anywhere.</p>
  
  <p>I can use an image using</p>
  
  <pre><code>&lt;h:graphicImage/&gt;
  </code></pre>
  
  <p>I don't know how to put text on top of it though.</p>
  
  <p>What am I doing wrong? How do I insert a background image behind some text?</p>