Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    151
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile [simple] how do i change the color of the border around my image

    i have something like this

    <img src="pic" border=1>


    how do i make that border white?

    i tried adding border-color="#FFFFFF"

    but no luck



  • #2
    Regular Coder
    Join Date
    Aug 2002
    Posts
    104
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I guess your html page's background is black and that is why you want to change the color of the border right?

    why don't u try putting the image into a table and let say if your image size is 50X50 then make the cell size 55X55 and the background of the cell would be whatever color u want for the border.. that way it will look like it has a white or blue color of border but it's actually background color of the cell..

    hope that helps..

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Posts
    151
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it's fine now i just used a style sheet

    border: #ffffff 1px solid


    thanks


  •  

    Posting Permissions

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