Blue outline around image hyperlink?

Discussion in 'WordPress' started by bob25, Sep 18, 2010.

  1. #1
    Anybody know how to get rid of this?

    When I try to create a hyperlink from an image I insert WP sometimes creates a blue outline around the image. I know I can create it in Kompozer and paste the HTML into WP, but is there a way to get rid of the blue outline in WP?

    Thanks
     
    bob25, Sep 18, 2010 IP
  2. Xtrapsp

    Xtrapsp Active Member

    Messages:
    716
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Post The css in a notepad file for us?
     
    Xtrapsp, Sep 18, 2010 IP
  3. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Thanks, but I don't think it's the css. It's not happening on every post, and I already edited out the blue outline in the post. I was just wondering if there's any way to correct the link using WP.

    Thanks
     
    bob25, Sep 18, 2010 IP
  4. DawnBaby

    DawnBaby Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    an outline is usually indicative of a border or a hyperlink, so set border to 0px or remove your hyperlink
     
    DawnBaby, Sep 19, 2010 IP
  5. ayekaye01

    ayekaye01 Peon

    Messages:
    214
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    hi!

    if you dont want the blue border set the border to 0 if you dont want to erase the link of the image.
     
    ayekaye01, Sep 19, 2010 IP
  6. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #6
    Hey just add

    border="0"

    into the pics html
     
    MiletNZ, Sep 20, 2010 IP
  7. bob25

    bob25 Well-Known Member

    Messages:
    1,519
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    128
    #7
    It worked, but I was hoping I could do it with WP. It only happens on certain posts and there's a number of images and having to sift through the HTML is a bit "clunkier", but since it only happens occasionally I guess I can live with that.

    Thanks
     
    bob25, Sep 20, 2010 IP
  8. MiletNZ

    MiletNZ Member

    Messages:
    283
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #8
    What If you put in into the style sheet in editor?
    /* HTML Elements */
    * {
       border:0;
       margin:0;
       padding:0;
    }
    Code (markup):
    That should stop it on all pictures?
     
    MiletNZ, Sep 20, 2010 IP
  9. Xtrapsp

    Xtrapsp Active Member

    Messages:
    716
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #9
    thats what I said >.> It's in the CSS
     
    Xtrapsp, Oct 2, 2010 IP