#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    The Netherlands
    Posts
    14
    Rep Power
    0

    [Solved] -IE - Remove blue line around image?


    Hello and good day everyone ,

    So.. i've created an image map, and it all works fine.
    But there's one more problem, in IE the image has a blue line around it, and i want to remove it. Does anyone know how? Thanks!

    This is the code:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    
    <html>
    <head>
    <title>Untitled</title>
    <script type="text/JavaScript">
    function changeBg(color) {
       document.body.style.background = color;
    }
    </script>
    </head>
    <body bgcolor="black">
    <img src="flag.png" alt="" usemap="#map" />
    <map name="map">
        <area shape="rect" coords="1, 156, 255, 212" onmouseover="changeBg('#21468B')" onmouseout="changeBg('black')">
        <area shape="rect" coords="1, 101, 254, 154" onmouseover="changeBg('white')" onmouseout="changeBg('black')">
        <area shape="rect" coords="0, 44, 255, 98" onmouseover="changeBg('#AE1C28')" onmouseout="changeBg('black')">
    </map>
    </body>
    </html>
    Image:
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    194
    Rep Power
    77
    put

    Code:
    img {
      border: 0;
    }
    inside your css file or in the style tags in the head
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    The Netherlands
    Posts
    14
    Rep Power
    0
    Originally Posted by jack13580
    put

    Code:
    img {
      border: 0;
    }
    inside your css file or in the style tags in the head
    Thank you very much! This fixed it

IMN logo majestic logo threadwatch logo seochat tools logo