Jump to content

Usemap


rashmi_k28

Recommended Posts

<style>
#bgimage {
background-image: url(./images/gridmon.jpg);
background-height:1000px;
background-width:700px;
background-repeat: no-repeat;
}
</style>

<BODY leftMargin=0 topMargin=0 id="bgimage">

 

 

How can I add  usemap link as below. Where to assign the

 

<map name="Map">

  <area shape="rect" coords="570,195,786,226" href="#">

</map>

Link to comment
https://forums.phpfreaks.com/topic/126243-usemap/
Share on other sites

How can I add  usemap link as below. Where to assign the

 

<map name="Map">

  <area shape="rect" coords="570,195,786,226" href="#">

</map>

The 'usemap' attribute goes on an image tag, it can't just go on any tag. So instead of using a background image for a page, put the image inline with something like:

<img src="..." alt="..." usemap="Map">

 

You really don't want to use an image map. It's not proper web standards type coding.

Uh, yes it is. It's perfectly valid, who told you it isn't?

Link to comment
https://forums.phpfreaks.com/topic/126243-usemap/#findComment-654123
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.