Kizuka Kizuka - 3 months ago 24
CSS Question

Image Map not working in Explorer

For some reason my image map is working in every browser but Internet Explorer,

I cant seem to figure out why and also can't test it very accurately because I am on a Mac.

<div id="joinnow">
<div style="text-align:center; width:358px; margin-left:auto; margin-right:auto;">
<map id="imgmap20131021153742" name="imgmap20131021153742"><area shape="rect" alt="" title="" coords="23,26,162,109" href="https://signup.myiclubonline.com/iclub/signup/home.htm#plans?clubNumber=3790" target="_blank" /><area shape="rect" alt="" title="" coords="22,114,158,188" href="https://signup.myiclubonline.com/iclub/signup/home.htm#plans?clubNumber=4790" target="_blank" /><area shape="rect" alt="" title="" coords="201,103,340,185" href="http://therac.wufoo.com/forms/z7x4a3/" onclick="window.open(this.href, null, 'height=825, width=475, toolbar=0, location=0, status=1, scrollbars=1, resizable=1'); return false" title="TheRAC" /></map>
<img src="http://www.therac.net/images/joinnow.jpg" USEMAP="#imgmap20131021153742" />
</div>
</div>


The CSS for the
div
with ID "joinnow" is...

#joinnow
{
font-size:18px;
font-weight:500;
font-family:Tahoma, Geneva, sans-serif;
color:#fff;
text-align:center;
position:relative;
float:right;
background-image:url(images/joinnow.jpg);
height: 195px;
width:179px;
}


Thanks in advance for any help provided!

Answer

Worked fine here, Internet Explorer 11

usemap is lowercase

<div id="joinnow">        
        <div style="text-align:center; width:358px; margin-left:auto; margin-right:auto;">
            <map id="imgmap20131021153742" name="imgmap20131021153742"><area shape="rect" alt=""      title="" coords="23,26,162,109"  href="https://signup.myiclubonline.com/iclub/signup/home.htm#plans?clubNumber=3790"  target="_blank" /><area shape="rect" alt="" title="" coords="22,114,158,188"  href="https://signup.myiclubonline.com/iclub/signup/home.htm#plans?clubNumber=4790"  target="_blank" /><area shape="rect" alt="" title="" coords="201,103,340,185"  href="http://therac.wufoo.com/forms/z7x4a3/" onclick="window.open(this.href,  null,  'height=825, width=475, toolbar=0, location=0, status=1, scrollbars=1, resizable=1'); return  false" title="TheRAC" /></map>
            <img src="http://www.therac.net/images/joinnow.jpg" usemap="#imgmap20131021153742" />
        </div>
</div>

.

#joinnow
{
    font-size:18px;
    font-weight:500;
    font-family:Tahoma, Geneva, sans-serif;
    color:#fff;
    text-align:center;
    position:relative;
    float:right;
    background-image:url('images/joinnow.jpg');
    height: 195px;
    width:179px;
}

http://jsfiddle.net/6LN6C/2/