Image map rollover CSS

Posted on 2008-11-08
Last Modified: 2012-05-05

I'm trying to create an image map rollover using CSS. The pages I have googled don't seem to be exactly what I'm looking for. I basically just want to create a map over an image and have it change that looks the same with the same dimensions, but the border on the rollover image is darker.

Here is a sample page with one standard HTML image map on it:

The image map is the correct dimensions for the top left image. Here is the image I want it to change to: The image would change when you hover over the corresponding image map. Looking for something that will work for IE6 and above.

What's the best way to do this using CSS?

Any help would be much appreciated.

Question by:qdh
    LVL 7

    Accepted Solution

    This is an amazing article about how to achive this:
    LVL 42

    Assisted Solution

    by:David S.

    Author Closing Comment

    Thanks for your help.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now