Give help. Get help.

  • # April 24, 2008 at 5:27 pm

    I have an image and whenever I add a link to it, it then has a blue border around it. I don’t want it to have any border so…

    I have put the image in a div with an ID of "blue" and added this code to my style sheet:

    div#blue a {color:none; text-decoration:none}
    div#blue a:hover {color:none; text-decoration:none}

    Still I get a border, what am I doing incorrectly?


    # April 24, 2008 at 5:48 pm

    There might be a css rule for it but in your html page, when you put the anchor and image tag, do this….

    # April 24, 2008 at 5:58 pm

    thanks Nike, I appreciate it. I fixed it with

    a img { border:0; }

    Dang, that was easy!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.