View Full Version : is it possible to position an image as overlay with just css?

04-06-2011, 11:12 PM
the current code is for an arrow that places on top of an image in a slider display:

.active-thumb { background: transparent url(images/sel-frame.png) top center no-repeat; }

But i want to make it so it is not the background, and it is over the image (i created an alternate color frame which I want over the thumbnail image instead of the arrow on top.

the HTML:

<a href="#1" class="cross-link active-thumb" style="left: 0px; top: -1px;"><img src="images/slide1-thumb.jpg" class="nav-thumb" alt="temp-thumb" /></a></div>