www.webdeveloper.com
Results 1 to 4 of 4

Thread: image border color

  1. #1
    Join Date
    Jul 2004
    Posts
    9

    image border color

    How do I change a image's border color without using a style sheet?

  2. #2
    Join Date
    Jan 2004
    Location
    Alabama, United States
    Posts
    833
    Place a style command in the element declaration. Like So:

    <img style="border: 1px solid #FF0000;" src="someimage.img">

    That will give the image a 1 pixel, solid red border.

  3. #3
    Join Date
    Jul 2004
    Posts
    9
    THANKS!!!

  4. #4
    Join Date
    Jan 2004
    Location
    Alabama, United States
    Posts
    833
    No Problem. Glad I could help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles