Get rid of the black border around links

  • rubahneck
  • Novice
  • Novice
  • rubahneck
  • Posts: 15

Post 3+ Months Ago

When I make a link, it has a black border around it by default, how do I get rid of the border and make it the same color as the background?

example:

look at the thumbs, they all have black borders around them
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9090
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Okay this is a pretty simple one. Simple add border="0" in your img tag. So for example:

Code: [ Select ]
<a href="http://www.somesite.com/"><img src="images/somepic.jpg" border="0"></a>
  • eski009
  • Newbie
  • Newbie
  • eski009
  • Posts: 7

Post 3+ Months Ago

In your stylesheet add

Code: [ Select ]
img { border:none;}


or alternatively in your html add

Code: [ Select ]
<style>
img { border:none;}
</style>
  1. <style>
  2. img { border:none;}
  3. </style>
  • mysonmark
  • Novice
  • Novice
  • mysonmark
  • Posts: 24

Post 3+ Months Ago

I did not post this question, however you sure helped me out. Thanks so much!

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 71 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.