Menu UL LI how to separate opacity from background image and text

Menu UL LI how to separate opacity from background image and text

Hi,


I am working with a menu using background images and ul li.
The idea is to build the menu with text in li and a little image in background.

For the image I put opacity 0.4 but the problem is that at the same time the opacity of the text
becomes 0.4

Can someone tell me how to separate the opacity of the text (1) and
of the background-image (0.4) please?

I don't know if I must use a jquery function or if I can do that only with CSS

you can check the page to

here is the code
for the css

  1. .icone li {
  2. padding:0px;
  3. margin:auto;
  4. text-align:center; /* non*/
  5. vertical-align:bottom;
  6. width: 36px;
  7. height: 49px;
  8. border-radius:10px;
  9. border: solid black 2px;
  10. opacity: 0.4;
  11. background-image: url("http://www.davidinlove.com/img/sprite_menu_PH.jpg");
  12. background-repeat: no-repeat;
  13. }

and the html (here I use sprite)

  1. <div id="id-menu" class="c-menu">
  2. <ul class="icone">
  3. <a href="#1"><li class="icone-1">EIFFEL TOWER</li></a>
  4. <a href="#2"><li class="icone-2"></li></a>
  5. <a href="#3"><li class="icone-3"></li></a>
  6. <a href="#4"><li class="icone-4"></li></a>
  7. </ul>
  8. <ul class="icone">
  9. <a href="#5"><li class="icone-5"></li></a>
  10. <a href="#6"><li class="icone-6"></li></a>
  11. <a href="#7"><li class="icone-7"></li></a>
  12. <a href="#8"><li class="icone-8"></li></a>
  13. </ul>
  14. </div>


Thanks for any help

David  ( @webtecgeek   www.thecacaocafe.com )