My apologies for posting this again, but I messed up and replied to a post instead of creating a new email to save some time retyping the list address. Oh, the irony. This has been bugging me for a while now and I can't seem to fix it. Here's the relevant CSS:

a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

#previewPanel a:hover img.previewPic {
  border: 1px dashed #000;
}

and the html:

<a href="#"><img class="previewPic" src="imgPath.jpg" height="100" width="100" alt="alt tag" /></a>

The hover works in Firefox but not in IE. Here's what I've found: if I have the color of a:visited to be declared as a different color than the hover color, the hover works in IE. I'd like my visited color to be #000, so that's not a solution. Another thing: when I click the link, the dashed border appears. Also, if I hover over an image before the page finishes loading, the dashed border appears properly. Once the page finishes loading, the border disappears.

Any help would be greatly appreciated.  Thanks!

jason



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to