New Zenner
- Join Date:
- Apr 2010
- Posts:
- 5
- Plugin Contributions:
- 0
Cell highlight on rollover - Why is it putting products in new lines?
Hi all.
I'm building my first Zen Cart store and I want the cell background to change colour when you hover over it in the What's New section.
I've managed to get the cell to change colour but for some reason when it does that it puts the products on separate rows.
The URL is http://www.southamericansupermarket.com
I've used the following CSS and HTML.
CSS
.centerBoxContentsNew {
margin: 1em 0em;
background-color: #ffffff;
color:#000000;
}
.centerBoxContentsNew.on {
margin: 1em 0em;
background-color: #999999;
color:#000000;
}
HTML
<div class="centerBoxContentsNew" onmouseover="this.className='centerBoxContentsNew on'" onmouseout="this.className='centerBoxContentsNew'"
Any help or opinions on this would be greatly appreciated. Also if there is a better way of doing this. Thanks.