toolmania1
New Member
Where does a rollover end? Does it end on the original image dimensions or for the rollover image if they differ? Can you set the dimensions in which the rollover responds?
<div id="ext">
<a href="">External Rollover Image <img src="lgImage.png" alt="The large image"/></a>
</div>
div#ext a:link img, div#ext a:visited img {
position:absolute;
width:500px;
height:492px;
top:-500px;
left:350px;
border:none;
}
div#ext a:hover img, div#ext a:focus img {
top:200px;
}
div#ext a:link, div#ext a:visited {
display:block;
width:150px;
height:148px;
text-indent:-5000px;
background:url(smallThumbnail.png);
}
div#ext a:hover, div#ext a:focus {
outline:0;
}