Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

CSS Question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-28-2012, 04:07 PM
 
MSfan MSfan is offline
 

Advanced Member
  
Join Date: Nov 2011
Posts: 56
 

Default CSS Question

I want to apply a (hover over) style to the element below, but I can't figure out the CSS syntax. Here is my structure (from what I see in Firebug):

Code:
<table class= "products products-table"> <tr class= {varies}>... <td class="highlight first last product-cell"> <div class="foo"> <a><img .../> <span> <img { APPLY STYLE WHEN HOVERING OVER THIS IMG ITEM } /> </span> </a> </div> </td>


Note: I'm going to want to put a different style for <td class="highlight last product-cell"

Thanks
__________________
v4.4.4 Pro
Reply With Quote
  #2  
Old 03-29-2012, 01:23 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: CSS Question

Try:

.foo a:hover span img {
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:14 PM.

   

 
X-Cart forums © 2001-2020