[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


IE anchor border color

Posted on 2006-05-10
Medium Priority
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

Accepted Solution

keniki earned 2000 total points
ID: 16654372
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

ID: 16654435
thanks it works great,


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
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 Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Suggested Courses
Course of the Month18 days, 16 hours left to enroll

834 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