1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How Do I Remove Border Around Image Link

Discussion in 'CSS' started by gobbly2100, Sep 2, 2007.

  1. #1
    Hey,

    I have an image link that has a hyperlink stype border around it and I just wondered how I can remove it using CSS?

    Thanks!
     
    gobbly2100, Sep 2, 2007 IP
  2. North Carolina SEO

    North Carolina SEO Well-Known Member

    Messages:
    1,327
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    105
    #2
    Have you tried img { border: none }? :)
     
    North Carolina SEO, Sep 2, 2007 IP
    mcfox likes this.
  3. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #3
    even more specifically, use a selector -

    a img { border: none; }
     
    frankcow, Sep 2, 2007 IP
    mcfox likes this.
  4. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Perfect, thanks guys!

    I was a bit confused at which tag I neded to make the border non.
     
    gobbly2100, Sep 2, 2007 IP