?
Solved

Unwanted border using <map tag

Posted on 2008-06-12
4
Medium Priority
?
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
bluefezteam earned 2000 total points
ID: 21771831
the blue border may be caused by the href - set border="0" on the image
0
 
LVL 5

Expert Comment

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

Author Closing Comment

by:jonatec
ID: 31466654
Yeah perfect thanks..
0
 
LVL 10

Expert Comment

by:bluefezteam
ID: 21772216
hey thanks for that - good luck with the project!
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

800 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