On 1/15/07, Mark Finney <[EMAIL PROTECTED]> wrote:
>
> Ok so I use a:hover and just assumed that it should work with an image
> map... am i wrong?
>
> Anybody have any clues on this?
>
> Thanks in advance,
>
> Mark
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/



Mark,

First of all, calling the hover pseudo-class for an <a> tag doesn't apply to
this situation for one main reason, being that there is no <a> tag. The
problem with this method is that an image map uses one large image, and with
HTML, splits it up into imaginary segments for the purpose of having them
link to another URL. The hove tag is not going to do you any good because
the only real properties the area tag, which is the one providing the link,
has are it's coordinates and destination URL. The most common solution to
this problem, while seemingly keeping the effect the same would be to use an
image editing program to slice up your image into sections, ultimately
getting the parts that you want to be links into separate images, then using
HTML to make it all appear as one big image. Not only does this save on
overall loading time, but allows you to apply the hover effect you want to
the individual images!

Hopefully this helps you, and if not feel free to ask any other questions
you may have.

Best of luck,
Matt Fielding
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to