title: Change css for hover over text box
body: <p>The original idea came from the following</p>
  
  <p><a href="http://freshdesignweb.com/demo/2012/09/css3-hover-effects/" rel="nofollow">http://freshdesignweb.com/demo/2012/09/css3-hover-effects/</a></p>
  
  <p>It is a simple hover over image then text relevant to that image drops below it.</p>
  
  <p>I want to modify the area in which the text displays to add rich snippet code, a buy it now button, and an add to cart button. I am having two issues 1) any img scr added between the li automatically appears in the image box and 2) anywhere you click on the image or box takes you to another page since it is an anchor.</p>
  
  <p>the css</p>
  
  <pre><code>.our_menu{width:970px; margin:0 auto;}
  ul,li{margin:0;padding:0;list-style:none}
  .menu .item{float:left;position:relative}
  .menu .item a{background-color:#FFF;color:#000000;display:block;overflow:hidden;position:absolute;box-shadow:0 0 7px 0 #CCC;-moz-box-shadow:0 0 7px 0 #CCC;-webkit-box-shadow:0 0 7px 0 #CCC}
  .menu .item a:hover{z-index:2;-webkit-transition:height .2s ease-in-out;-moz-transition:height .2s ease-in-out;-o-transition:height .2s ease-in-out;-ms-transition:height .2s ease-in-out;transition:height .2s ease-in-out}
  .menu .item a h3{border:0;font-family:"Times New Roman",sans-serif;font-size:17px;margin:0 0 .5em 0;padding:0;text-transform:uppercase;}
  .menu .item a p{color:#432;font-size:16px;}
  .our_menu .menu{float:left;margin:0 0 50px 0}
  .our_menu .menu .item{background-position:9px -791px;height:170px;padding:0 0 0 7px;width:316px}
  .our_menu .menu .item a{height:25px;padding:114px 0 0 14px;top:10px;width:295px;text-decoration:none;}
  .our_menu .menu .item a:hover{height:550px;padding-top:179px}
  .our_menu .menu .item a img{clip:rect(0px,283px,96px,0px);height:164px;position:absolute;top:14px;width:283px}
  .our_menu .menu .item a:hover img{clip:auto}
  @media only screen and (max-width: 967px) {
  .our_menu{ width:660px;margin:0 auto;}
  }
  @media only screen and (max-width: 620px) {
  .our_menu{ width:330px;margin:0 auto;}
  }
  </code></pre>
  
  <p>Original html</p>
  
  <pre><code>&lt;div class="our_menu"&gt;
      &lt;ul class="menu"&gt;
          &lt;li class="item"&gt;              
              &lt;a href="#"&gt;                    
                  &lt;h3&gt;Appetizers&lt;/h3&gt;                    
                  &lt;p&gt; Start a meal off right with your favorite from our menu of signature appetizers. Can't choose just one? You don't have to&lt;/p&gt;                    
                  &lt;img src="images/2.jpg" alt="" height="164" width="283"&gt;                
              &lt;/a&gt;            
          &lt;/li&gt;
  </code></pre>
  
  <p>The following is the rich snippet code I need to use to make the text in the box.</p>
  
  <pre><code>&lt;span itemscope itemtype="http://schema.org/Product"&gt;
      &lt;img itemprop="image" src="http://www.example.com/images/hello.jpg" /&gt;
      &lt;h3 itemprop="name"&gt;Name of Product Here&lt;/h3&gt;
      &lt;a itemprop="url" href="http://www.example.com/index.html"&gt;&lt;/a&gt;
  &lt;span itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;&lt;h3 itemprop="price" class="price"&gt;$2.00&lt;/h3&gt;&lt;/span&gt;
  &lt;p&gt;
      &lt;span itemprop="description"&gt;Widget&lt;/span&gt;&lt;br/&gt;
      UPC: 1234567890
  &lt;/p&gt;
  &lt;span&gt;
  </code></pre>
  
  <p>The following is what I had working up until I wanted to add the buy it now button and add to cart button.</p>
  
  <pre><code>&lt;a class="paypal"&gt;&lt;img src="images/cart.gif" alt=""&gt;&lt;/a&gt;&lt;a class="paypal"&gt;&lt;img src="images/buynow.gif" alt=""&gt;&lt;/a&gt;
  
  
  &lt;div class="our_menu"&gt;
      &lt;ul class="menu"&gt;
      &lt;li class="item"&gt;   
          &lt;a itemprop="url" href="http://www.example.com/"&gt;       
  &lt;span itemscope itemtype="http://schema.org/Product"&gt;
      &lt;img itemprop="image" src="images/hello.jpg" height="164" width="283"/&gt;
      &lt;h3 itemprop="name"&gt;Product Name&lt;/h3&gt;
  &lt;span itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;&lt;h3 itemprop="price" class="price"&gt;$2.00&lt;/h3&gt;&lt;/span&gt;
  &lt;p&gt;
  &lt;span itemprop="description"&gt;Widget&lt;/span&gt;&lt;br/&gt;
      UPC: 074804800012&lt;br/&gt;
  &lt;/p&gt;
  &lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I created a jsFiddle thanks for the suggestion.</p>
  
  <p><a href="http://jsfiddle.net/3CmGN/" rel="nofollow">http://jsfiddle.net/3CmGN/</a></p>
  
  <p>In the fiddle when you hover over the image a box containing text drops down.  I want this effect as is. The issue I am having is I do not want the image as a anchor tag and want to add an "add to cart" and "buy it now" button under the UPC in the example.</p>