Solved

Unwanted border using <map tag

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

733 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