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
Solved

Unwanted border using <map tag

Posted on 2008-06-12
4
249 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses how to create an extensible mechanism for linked drop downs.
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…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

839 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