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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple border question

Status
Not open for further replies.

inusrat

Programmer
Joined
Feb 28, 2004
Messages
308
Location
CA
Hi ,

I have the following code,

<tr><td ><a href="brandshyperlink.php?ProductBrand=Curve&start=0" ><img src="images/whopper.jpg" border=1 width="190" height="50" ></td></a></tr>

I get blue border for the image. How can i give different color to my picture border....

Thanks


 
You could do that via css (goes into the head of the document):
Code:
<style type="text/css">
 a img { /* selects all images within links */
  border-color: #ffff00; /* or whatever you wish */
 }
</style>
This way you can also control the width (border-width) and style (border-style) of the border or comlpetely turn it off (border: none;).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top