My dilemma:
I have this row of icons that I'm doing CSS image rollovers for. For some reason as soon as I put a link around the image they shifted and are now cropped.
http://www.nomadicmind.com/Postings/rollover_bug.jpg
I toyed with different position tags to no avail. Interesting enough it works fine in the old IE for Mac.
Any help would be appreciated ... everytime I pickup web coding after a break it's a matter of relearning it all over again :-(
XHTML Code:
<div id="work">
<p class="rule">
<span class="smallType">view</span>Design<br />
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
<a href="#"><img src="site/graphics/Trans.gif" alt="Item1" width="16" height="18" /></a>
</p>
</div>
CSS:
/* LINKS */
#work A:link {
background: url(../graphics/Un-Viewed.gif) no-repeat center center;
}
#work A:visited {
background: url(../graphics/Viewed.gif) no-repeat center center;
}
#work A:hover {
background: url(../graphics/Viewing.gif) no-repeat center center;
}
#work A:active {
background: url(../graphics/ViewClick.gif) no-repeat center center;
}