I’m trying out the nifty CSS pop-up code as described here:
[URL=”http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/”]http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/
Problem is, my thumbnail HTML includes hspace=”20″, since there is text to the right of it,
and I want to create a bit of space around it —
everything’s OK in FF, but in IE7 the thumbnail is shifting position after it’s been
hovered over once, losing the hspace on the left-hand side and aligning with the
regular left margin (as defined by the CSS for p margin-left:30px).
So it displays with zero hspace on the left-hand side, and 40px (double) hspace
on the right-hand side.
Any way to stop the thumbnail shifting in this way?
HTML is as follows:
<p><a class=”thumbnail” href=”#thumb”>
<img src=”images/auction_front2.jpg” align=”left” hspace=”20″ alt=”Mr Scales at the Auction” width=”59″ height=”61″ border=”0″>
<span><img src=”images/auction_front.jpg”/></span></a></p>
Thanks!