Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Border Around Image :S

Status
Not open for further replies.

Extreme43

Programmer
Dec 21, 2004
23
AU
hey,
When i create an Image as a link with
<a href=whatever.php><img src=pic.jpg></a>
it leaves a border around the image and is very annoying

how would i get rid of it?
 
That is an html question, not a php one. Links by default are underlined and linked images have borders around them. You can easily get rid of them in your css declaration:
Code:
<style type="text/css">
a img {
  border: none;
}
</style>
 
that's the CSS solution, this is the HTML one.
<a href="whatever.php"><img src="pic.jpg" border="0"></a>
 
ok
i didnt think their was a html forum....
sorry
ill double check next time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top