stop blue border on hyperlinks?

Posted on 2007-10-02
Last Modified: 2010-08-05
How do I prevent the blue border from appearing on hyperlinks that contain only an image? Like this...

<a href="pg.aspx#cancel" target="help">
<img src="images/questionmark.GIF" />

Question by:volking
    LVL 65

    Accepted Solution

    add border="0" to the image tag.....

    <a href="pg.aspx#cancel" target="help">
    <img src="images/questionmark.GIF" border="0"/>
    LVL 5

    Author Comment

    dang ... I tried dozens of STYLE changes to the HYPERLINK .... nothing worked. I never thought of the img ..... sigh

    LVL 65

    Expert Comment


    Featured Post

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now