Web Analytics Made Easy -
StatCounter Border color of an image - CodingForum

Announcement

Collapse
No announcement yet.

Border color of an image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Border color of an image

    Hi everyone.

    I notice that the Image object has a border property, which determines whether or not there is a border, but if I do want a border around an image, how can I define the colour it will be?

    Cheers.

    Russell.

  • #2
    <img style="border:3px gold double;" src="http://www.codingforum.net/images/reply.gif">

    Comment


    • #3
      Thanks

      Dave and adios.

      Thank you both for your replies.

      This is all a steep learning curve. I'm not sure which way to look sometimes. It seems to be such a mix of HTML/JavaScript/CSS knowledge, you just have to know the right tack to take I guess.

      Thanks again.

      Russell.

      Comment


      • #4
        http://www.w3schools.com/css/css_border.asp

        Comment

        Working...
        X