I'd like to change the background position of a CSS-class while hovering a li-element.
HTML:
<div id="carousel">
<ul id="submenu">
<li>Apple</li>
<li>Orange</li>
</ul>
</div>
CSS:
#carousel {
float: left;
width: 960px;
height: 360px;
background: url(../images/carousel.png);
}
Any suggestions on how to do this?
newValue
? Is it a string? What format is it in? – Sacrament