How do I remove blue border from grafic with link?

Discussion in 'CSS' started by moenelson, Mar 8, 2009.

  1. #1
    I have a graphic at the bottom of each page of my Godaddy web site (www.therergllc.com). When I attach a link to the graphic a blue border appears. I don't understand CSS or HTML. Can someone (for a fee) walk me through the process of removing the border?

    Thanks,
    Moe
     
    moenelson, Mar 8, 2009 IP
  2. justingh

    justingh Peon

    Messages:
    411
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just add

    so for example

     
    justingh, Mar 8, 2009 IP
  3. Lpe04

    Lpe04 Peon

    Messages:
    579
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Beat me to it :) That's how you do it.
     
    Lpe04, Mar 8, 2009 IP
  4. fairuz.ismail

    fairuz.ismail Peon

    Messages:
    232
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #4
    to make it easier, in your css file, put this

    img { border:none }
     
    fairuz.ismail, Mar 8, 2009 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    That may not be sufficient. Most (all?) browsers apply the border to images descended from links, i.e. *:link | visited | focus | hover | active

    A more robust solution is "a img {border: none;}".

    cheers,

    gary
     
    kk5st, Mar 8, 2009 IP