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

HOW TO CHANGE INMAGE BORDER COLOUR

Status
Not open for further replies.

ticknock

Technical User
Aug 8, 2001
15
IE
Hi I was hoping to find a way of changing the default colour of an image border in a table.
Also is there any way of putting a border on an image in a layer? at the moment I am putting an image inside a table inside a layer in order to get a border on the image.
Any suggestions greatly appreciated, many thanks, Mel
 
Here are 2 examples:

<HTML>
<HEAD>
<TITLE></TITLE>
<style>
.MyImageBorder
{
border-color: yellow;
}
</style>
</HEAD>
<BODY>

<img border=4 style=&quot;border-color:eek:range;&quot; src=&quot;ERROR.JPG&quot; width=220 height=506>
<img border=5 class=&quot;MyImageBorder&quot; src=&quot;ERROR.JPG&quot; width=220 height=506>

</BODY>
</HTML>

Hope this is wath you need?
Erik <-- My sport: Boomerang throwing !!
!! Many Happy Returns !! -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top