Hello,
I am basically trying to do the following thing:
I have a bigger image, smaller one and a text link.
The aim is to put the small image over the big one and the text on top.
And the whole thing should be a link.
Basically it is a product image with a price tag text and some background image for the price tag - the whole thing links to the specific product page.
Oh, yeah - and it should work in IE6 and 7
Any help is greatly appreciated.
I am basically trying to do the following thing:
I have a bigger image, smaller one and a text link.
The aim is to put the small image over the big one and the text on top.
And the whole thing should be a link.
Basically it is a product image with a price tag text and some background image for the price tag - the whole thing links to the specific product page.
Oh, yeah - and it should work in IE6 and 7

Code:
<div class="box"> <a href="http://google.com"> <span class="text" style="margin-top:-50px;margin-right:-50px;z-index:100;">Test text over small image over big image</span> <img alt="Small image over" src="smallImage.jpg" style="margin-top:-50px;margin-right:-50px;z-index:100;"> <img alt="Big image under" src="bigImage.jpg" style="z-index:1;"></a> </div>
Comment