ImageMap and CSS

liunx

Guest
I've created an ImageMap using Map <map> and Area <area> tags but want a more robust mouse-over text ability than the 'Title' property, which doesn't allow (that I'm aware of) one to change the general characteristics of the text displayed such as the font or background color. I've seen an interesting article at <!-- m --><a class="postlink" href="http://www.madaboutstyle.com/tooltip2.html">http://www.madaboutstyle.com/tooltip2.html</a><!-- m --> which seems to do what I want except it uses anchor <a> tags instead of area tags. Any ideas on how I can get this more robust mouse-over text using CSS and an ImageMap?You can use the mouseover and out in an <AREA> tag the same way you would use the <A> tag.Originally posted by gil davis
You can use the mouseover and out in an <AREA> tag the same way you would use the <A> tag.

But it will not work in IE, because IE only supports :hover on anchors (<A> tags). Unless you're talking about JavaScript, but I believe StevenP was searching for a CSS-based method; though, if all else fails, JavaScript is an alternative.
 
Back
Top