Ugly Image Borders

Discussion in 'Web Design & Coding' started by TheOneGreatX, May 9, 2005.

  1. TheOneGreatX

    TheOneGreatX VIP Member

    Joined:
    Apr 27, 2004
    Messages:
    1,276
    Likes Received:
    16
    Location:
    US
    I'm linking to various websites with banners, but i get these ugly borders and I was wondering if there is a way to make them go away. Here's an image:
    [​IMG]
     
    TheOneGreatX, May 9, 2005
    #1
    1. Advertisements

  2. TheOneGreatX

    D Schrute Assistant Sensei VIP Member

    Joined:
    Aug 31, 2004
    Messages:
    1,201
    Likes Received:
    19
    Location:
    VA & NC
    This should work:

    <a href="destination.com" border="0"><img src="image.gif"></a>
     
    D Schrute, May 9, 2005
    #2
    1. Advertisements

  3. TheOneGreatX

    TheOneGreatX VIP Member

    Joined:
    Apr 27, 2004
    Messages:
    1,276
    Likes Received:
    16
    Location:
    US
    it actually needed to go in the img tag, but thank you
     
    TheOneGreatX, May 9, 2005
    #3
  4. TheOneGreatX

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    i wish i'd visited earlier, i knew this one off by heart
     
    Nickweb, May 9, 2005
    #4
  5. TheOneGreatX

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    Or you could control it globally via CSS,
    HTML:
    img { border: 0px }
     
    James, May 9, 2005
    #5
  6. TheOneGreatX

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    but it's easier to just put it in the img code. simple: border="0" what's all you have to add
     
    Nickweb, May 19, 2005
    #6
  7. TheOneGreatX

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    i see on your devianart page, you have a pic of u in an old uk phone booth, when did you visit us here?
     
    Nickweb, May 19, 2005
    #7
  8. TheOneGreatX

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    Not if you have a lot of images or multiple pages. ;)
     
    James, May 19, 2005
    #8
  9. TheOneGreatX

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    hmmm, i do see your point, i just guess i do it that way, because i do a lot of html coding from scratch, typing away for ages
     
    Nickweb, May 20, 2005
    #9
  10. TheOneGreatX

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    As do I. CSS makes things much easier.
     
    James, May 20, 2005
    #10
  11. TheOneGreatX

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    yeah, i'm learning css now, as part of a web design brief i have
     
    Nickweb, May 22, 2005
    #11
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.