I've been looking through the threads on how to use an image map in the header area. Basically, I've understood the steps as follows:
1) Place your header as the header background
2) Place a transparent 100x100 .png square as the header foreground
3) Place a text widget in the header widget area
4) Go to http://www.image-maps.com and map out your image
5) Paste the HTML code into the text widget in the header area
I've followed these steps, but when I paste the HTML code into the text widget in the header area it messes up my site.
Here is the code:
- Code: Select all
<div style="text-align:center; width:2000px; margin-left:auto; margin-right:auto;">
<img id="Image-Maps_7201206291755334" src="http://images.donjuaninc.com/12-06-26-Header.jpg" usemap="#Image-Maps_7201206291755334" border="0" width="2000" height="170" alt="" />
<map id="_Image-Maps_7201206291755334" name="Image-Maps_7201206291755334">
<area shape="rect" coords="1177,39,1258,61" href="www.donjuaninc.com/free-newsletter-signup" alt="Free newsletter" title="Free newsletter" />
<area shape="rect" coords="1316,39,1397,61" href="www.donjuaninc.com/modern-mans-guide-to-lifestyle-dating-and-relationships" alt="Modern Mans Guide" title="Modern Mans Guide" />
<area shape="rect" coords="1455,39,1536,61" href="www.donjuaninc.com/free-consultation" alt="Click Here for Free Session" title="Click Here for Free Session" />
<area shape="poly" coords="992,156,995,1,319,1,323,168," href="www.donjuaninc.com" alt="Home" title="Home" />
</map>
</div>
http://www.donjuaninc.com
Before pasting HTML code:

After pasting HTML code:

The code works in terms of making the desired areas clickable, but it makes my header move down and to the left. How can I make the header stay in the same spot but still keep the functionality from the code?
Thanks in advance!

