2 ms·
The <map> and <area> tags can't be styled. You should either use javascript to replace the src of the image onmouseover of the <area>, or, ideally, switch to a
by lhorie 17y ago
The <map> and <area> tags can't be styled. You should either use javascript to replace the src of the image onmouseover of the <area>, or, ideally, switch to a <a> with CSS background-images
<div style="background:url(banner.png)">
<a id="homelink"
href=""
style="position:absolute;
top:10px;
left:10px;
height:100px;
width:100px;"></a>
</div>
And the CSS:
<style>
#homelink {background:url(homelink.png)}
#homelink:hover {background:url(homelink_hover.png)}
</style>
Hope that makes sense.
PS: as other noted, there are other sites more suited to specific coding questions (e.g. stackoverflow.com, experts-exchange.com, etc)