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 5 of 5
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Sacramento, California
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Linked image purple border

    Can anyone tell me how to get rid of the purple border that shows up around a linked image. I tried css and stating it in the body tag and it does not work i am asuming it is not related with text links!

    thanks in advanced
    Hairynugs


    Simple is best.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In your stylesheet:

    img {
    border:none;
    }

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    WA
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    CSS is not necessary for what you want.
    Just place in your image tag:
    border="0"
    Have a GREAT Ariel day!!
    Mike
    LittleAriel.com

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by wontgetlost
    CSS is not necessary for what you want.
    Just place in your image tag:
    border="0"
    CSS is always necessary , it's constructs like border="0" which have been deprecated which should not be necessary and should only be used as a last resort.
    Last edited by Roy Sinclair; 09-04-2002 at 06:40 PM.

  • #5
    New Coder
    Join Date
    Aug 2002
    Location
    WA
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Roy Sinclair


    ... border="0" ... should only be used as a last resort.
    You mean in addition to right?

    Because the fact is that border="0" works great.
    However, if what you say is true then it must be an xml thing.

    In other words, future versions of IE might not be supporting border=

    I know that when I write pages I use style= to define the font size in px and then I add the size= tag in addition to

    Does that mean that size= will also be going away?

    If the above 2 things come to pass there will be a lot of pages not displaying right in the not too distant future... an unlikely scenario.

    So someone in the know, please provide us with a bottom line here. Any input would be greatly appreciated.
    Have a GREAT Ariel day!!
    Mike
    LittleAriel.com


  •  

    Posting Permissions

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