The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS This image border CSS won’t work in IE…why? Re: This image border CSS won’t work in IE…why?


Lindsey, thanks for the response!

If you have both FF and IE then look at this link:

the thumbnails as well as the photo to the right (for each page that loads when clicking the thumbnail) should have this CSS border surrounding it.

I’m pretty clear on what you described with a surrounding div, but could you give me an example so i’m 100% on that, please? And, would it have to be one surrounding div for the entire group of thumbs or one per thumb?

Ok, I placed the imageBorder as the container div and took out the inline class reference. Now the border shows in both IE and FF. But! in IE it wants to display the active/link blue/purple border around the image. I know there’s a tweak to eliminate that but can’t find it.

So, basically I have it now like:

<div class="imageBorder"><a href="blahblah.htm"><img src="nameofimage.jpg"></a></div>

instead of:

<a href="blahblah.htm"><img src="nameofimage.jpg" class="imageBorder"></a>