How do I change image border color HTML?

<img src="image link" border=1> How do I change the image border color with HTML? Thank you!

Public Comments

  1. use css: <img src='your_image' style="border:thickness type color;"> For example style="border:medium groove rgb(0, 0, 255);"
  2. The best way is to separate your content and design. In the HTML you would have <img src="..." id="myImage" alt="my image description" /> Then in your CSS file do this: img { border:1px solid #000; } This one changes all images. or #myImage { border:1px solid navy; } This one changes just that image. Thanks, Justin Half Nut Development http://www.halfnutdevelopment.com/
Powered by Yahoo! Answers