Re: Image Links

Discussion in 'HTML' started by Davmagic com, Jul 17, 2003.

  1. Davmagic com

    Davmagic com Guest

    >From:
    >()
    >Problem is, when I use them as a link
    >back to the validator, I get a border
    >around the image. I'm guessing it has to
    >do with my a:link css so i'll include that
    >here. Any ideas as to why I'm getting a
    >border?


    Set border="0":

    <a href="URL"><img src="URL" width="?" height="?" alt="?"
    border="0"></a>

    Web Design-Magic-Painting-Junking-Games
    INFO 2000 For You
    http://www.davmagic.com
     
    Davmagic com, Jul 17, 2003
    #1
    1. Advertising

  2. Davmagic com

    Chris Morris Guest

    (Davmagic com) writes:
    > >Problem is, when I use them as a link
    > >back to the validator, I get a border
    > >around the image. I'm guessing it has to
    > >do with my a:link css so i'll include that
    > >here. Any ideas as to why I'm getting a
    > >border?

    >
    > Set border="0":
    >
    > <a href="URL"><img src="URL" width="?" height="?" alt="?"
    > border="0"></a>


    CSS version:
    a img { border: 0; } (doesn't work in Netscape 4, for some reason)

    Since this removes the obvious clue that it *is* a link, though, this
    is not advised on any image where it's important that the image is a
    link. Something like this where it's only secondarily (if that) a
    link seems fine, though.

    --
    Chris
     
    Chris Morris, Jul 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    5
    Views:
    364
  2. DaveOnSEN
    Replies:
    0
    Views:
    658
    DaveOnSEN
    Mar 25, 2006
  3. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,270
    Toby Inkster
    Jul 12, 2004
  4. Laszlo Zsolt Nagy
    Replies:
    1
    Views:
    1,414
    Kartic
    Jan 26, 2005
  5. Garrett Smith
    Replies:
    14
    Views:
    330
    David Mark
    May 26, 2009
Loading...

Share This Page