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 4 of 4

Thread: Picture Help

  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Picture Help

    Does anyone know how to stop white lines appearing around my pics

    Like this

    http://www.freewebs.com/thejediplace/home.htm

    This is the code I am using

    <DIV STYLE="text-align:right"><a href="http://www.freewebs.com/thejediplace/home.htm"><img src="http://img.photobucket.com/albums/v315/AnthonyR48/menu_01.gif"></a> <a href="http://www.freewebs.com/thejediplace/Help.htm"><img src="http://img.photobucket.com/albums/v315/AnthonyR48/menu_02.gif"></a> <a href="http://www.freewebs.com/thejediplace/sitenav.htm"><img src="http://img.photobucket.com/albums/v315/AnthonyR48/menu_03.gif"></a> <a href="http://www.freewebs.com/thejediplace/home.htm"><img src="http://img.photobucket.com/albums/v315/AnthonyR48/menu_04.gif"></a> </DIV>

    Any help would be great

  • #2
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Image links have borders as default. Put border="0" in the image tag.
    <img src="http://img.photobucket.com/albums/v315/AnthonyR48/menu_01.gif" border="0">

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Or in your CSS -

    img { border: none }

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    or just to target image links
    Code:
    a img {
    border:0;
    }


  •  

    Posting Permissions

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