Results 1 to 7 of 7

Thread: Having problems with my image map

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Having problems with my image map

    I have a webcomic, and this weekend I was trying to redo my page. I decided I was going to add an image map. I then did so, with Frontpage(in case that's a factor in my problem). I then uploaded it to see how it looked, and something weird happened, it now has a blue outline around the whole image. It's weird because my links are set ot be a gray color anyway, not blue. The blue seemed to have come from nowhere. I would like to get rid of this outline, but I have no idea how.
    Additionally, if you notice on the right, there's the gray link color around the linked buttons, I would also like to know how to get rid of it around them.
    So, basically, I would like to know what the deal is with the blue outline, as in why it showed up, and how I fix it. I would also like to know how to get rid of the gray link border from the link buttons.

    Here's the page:
    http://goodnevil.comicgenesis.com/indexprogress.html
    Feel free to view my source to try and figure out my problem.

    Thank you so much in advance to anyone who is nice enough to help!

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    When you have an <img> tag wrapped in <a href="#"></a>, it defaults the border to a blue line. To get rid of the image border do this:
    Code:
    <a href="#"><img src="whatever.jpg" border="0"></a>
    and for the links on the right, do the same thing. Just write <img src="whatever.jpg" border="0"> for the images.
    - Mike

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Generally, to avoid those sorts of effects, set the image border="0":

    HTML Code:
    <img src="whatever" border="0">
    This is also true of images used with image maps.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wow, I figured it was something simple that I never knew.
    You guys are awesome, thanks so much.

  5. #5
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Umm.. not to be rude or anything, but didn't I just say that
    - Mike

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by mburt
    Umm.. not to be rude or anything, but didn't I just say that
    Check out the time index of the two messages, yours wasn't even there when I originally hit the reply button. After I hit the submit button, I did what I always do, I went on to the next thing.

    It's called cross posting. I notice that I am often the second one in such cases because I usually look at the source to make sure my solution will work with it, spell-check my response, and preview it a few times.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Ok, that makes sense
    - Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •