IE anchor border color

Posted on 2006-05-10
Last Modified: 2008-03-17
When an image is placed inside a hyperlink anchor tag the image is sorrunded by a blue outline.  Using CSS I was able to get rid of this outline in the below manner but it only workes in firefox:


color: #003366; /*this is the background color so the outline blends in */


The problem is that this technique doesn't work in IE.  Could someone tell me how to either get rid of the border or blend the border in IE?

Thank you

Question by:sai4
    LVL 2

    Accepted Solution

    Hi , you can define image borders for whole site

    .img {

    And define them for div class (or id) the image falls under

    div.yourclass img {
    border:#000000 1px;

    Author Comment

    thanks it works great,


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    A colleague recently asked me about how to give his client a small part of the web site that could be completely under the client's control.  Since I have done this sort of thing before to add emergency banners to a web site, I decided I would creat…
    This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
    In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
    In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

    734 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

    24 Experts available now in Live!

    Get 1:1 Help Now