41 users online (0 members and 41 guests)  

Thread: Images as links


  Results 1 to 8 of 8

Related

  1. Replies: 0
  2. links links and selectbox    Forum: HTML Forum
    Replies: 1
  3. rollover images as links    Forum: Graphics Forum
    Replies: 6
  1. #1
    riemek
    riemek's Avatar
    Guest

    Post Images as links

    Whenever I use an image for a link, I get an ugly blue line around it. I can`t seem to find any way to get rid of this.

    How do I get rid of this line?

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    inside your img src tag include border=0 so it will look like img src="x" height="x" width="x" border="0"

    Dave

  3. #3
    allstarr
    allstarr's Avatar
    Guest

    Talking

    so, how do u mix it all together? Do you need to add an "<a href=>" in it? Give a fake example of using a picture as the link.

  4. #4
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Talking

    I have an example on this page
    http://www.ahfb2000.com/htmltagslist.php

    Thanks for helping me fix a problem, It is an actual example and I never changed it when I changed hosts. You will get the red "x" cause the link is broken.

    Dave
    Last edited by HTML; 05-19-2002 at 08:06 AM.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  5. #5
    allstarr
    allstarr's Avatar
    Guest

    Talking

    hmm...I can find how do put a picture on, but I already know how do do that. Maybe I'm not seeing it, but how do I make the picture into a link? And while I'm at it, How do I put words on a picture? I saw a "<img alt>" or whatever, but I couldn't get it to work.

  6. #6
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Talking

    That is almost the only thing on that page, go back and look again . I dont know how you could not see it.

  7. #7
    allstarr
    allstarr's Avatar
    Guest

    Post

    I hope you don't mean the example. I've tried to mess with that for ages. I can't get it to work, or all I get is just a plain image. There's not even a link href in the equation. And the image atributes, that doesn't help either. And also, about putting words on a picture, alt only works if the picture doesn't show. When I put a real picture in, the words don't show up. Just type up an example of a real picture that links somewhere, and has some writing on it. That would be helpful. Sorry if I'm being a pain.

  8. #8
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    very simple, the same way you make a text link you make an image link, just instead of the text you add the img src that you saw on that link. <a href="yourlink"><img src="yourimage"></a>



Tags for this Thread