How to get rid of Blue/Purple Around links?

6 replies
  • WEB DESIGN
  • |
This may be a stupidly easy question, but I am not very experienced with html/css.


I am putting some text and an image as a link in my sidebar.

Everything is fine except it has that stupid blue/purple bar around it showing that it is a link.

Is this a browser issue? (does the same in FF and IE)

or is there some html tag I can use to get this to go away?

Thanks

Rebtl
#blue or purple #links #rid
  • Profile picture of the author pdjsolutions
    well
    in your stylesheet add

    img { border:none;}

    else

    <a href="www . website . com/"><img src="images/yourpic.jpg" border="0"></a>

    or in your html in the head add

    <style>
    img { border:none;}
    </style>
    {{ DiscussionBoard.errors[824852].message }}
    • Profile picture of the author coog
      Originally Posted by pdjsolutions View Post

      img { border:none;}

      else

      <a href="www . website . com/"><img src="images/yourpic.jpg" border="0"></a>
      haha I find myself doing that all the time too, even when you just write, you write in code
      {{ DiscussionBoard.errors[826229].message }}
  • Profile picture of the author testaccount9998
    Exactly what I was looking for.

    I knew it was easy.

    Thanks a ton pdj!
    {{ DiscussionBoard.errors[824897].message }}
  • Profile picture of the author pdjsolutions
    Anytime

    PDJSolutions @ your service
    {{ DiscussionBoard.errors[824903].message }}
  • Profile picture of the author BloomerBeak
    hmmm..maybe i misunderstood the question but i like to post mine. i'm not an expert so feel free to correct me. ^_^

    I use the following:
    <a href="#" style="text-decoration: none">lorem</a>
    Signature
    {{ DiscussionBoard.errors[827432].message }}
  • Profile picture of the author philsout
    here's the sample tag on how to remove the underline link:
    <a href="#" style="text-decoration:none">Link 1</a>
    {{ DiscussionBoard.errors[828055].message }}

Trending Topics