Solved

Unwanted border using <map tag

Posted on 2008-06-12
4
239 Views
Last Modified: 2013-11-19
Hi. I have set up a JPG with a mapped area. However when the picture gets displayed it always has an undesirable blue border to it. I have tried in-line style within the various tags, nothing seems to shift it. Any ideas please? Hear is my code:

<div >
  <map name='Map'>
    <area shape='rect'
              coords='249,185,371,303'
              href='javascript:fnShowBigPhoto()'/>
  </map>
  <img style='padding:30px;'
          src='../images/logo.jpg'
          height='457px' width='640px'
          usemap='#Map'
          ismap='ismap' />      
</div>
0
Comment
Question by:jonatec
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
bluefezteam earned 500 total points
Comment Utility
the blue border may be caused by the href - set border="0" on the image
0
 
LVL 5

Expert Comment

by:rstomar
Comment Utility
bcos u have padding 30px. so it will have some area of 30px around the image.
0
 

Author Closing Comment

by:jonatec
Comment Utility
Yeah perfect thanks..
0
 
LVL 10

Expert Comment

by:bluefezteam
Comment Utility
hey thanks for that - good luck with the project!
0

Featured Post

What Security Threats Are You Missing?

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

Suggested Solutions

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

771 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

10 Experts available now in Live!

Get 1:1 Help Now