how to create a basic image map using CSS?

Discussion in 'CSS' started by jamesjones88, Dec 16, 2008.

  1. #1
    Hi, I was wondering if anyone knew how i could go about adding an image map (i.e. just an area of my site's main graphic banner that can be clicked and take you to another site). This is so easy in HTML but i don't know how to do it when using CSS. I basically just want to use the following code:

    <img src="image.jpg" width="958" height="146" border="0" usemap="#Map" />
    <map name="Map" id="Map"><area shape="rect" coords="30,49,296,97" href="http://www.mylink.com" target="_blank" />
    </map>

    i want that to be turned into CSS that I can use as part of a template in Joomla

    thanks in advance for any help !
     
    jamesjones88, Dec 16, 2008 IP
  2. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0