Sample page - http://ukfolkfestivals.co.uk/scotland.php
I have a div with a shadow effect which uses
-moz-box-shadow: 4px 4px 4px #ccc;
-webkit-box-shadow: 4px 4px 4px #ccc;
box-shadow: 4px 4px 4px #ccc;
for modern browsers and then has
<!--[if IE]>
<style type="text/css">
#content {padding:0 5px;}
/**BOX-SHADOWS FOR IE 5-8**/
.accordionContent {
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=135,strength=5)";
filter: progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=135,strength=5);
}
.rightyImg{
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=135,strength=5)";
filter: progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=135,strength=5);
background:#fff;
}
</style>
<![endif]-->
for not so modern ones. IE in other words.
I’ve only just noticed that the text inside the divs is dotty in places. It’s not the JQuery accordion effect interfering with things, as I’ve just added the same shadow effect to a single page on another site, as part of a sample upgrade, and got the same result there too, with no JQuery on the page. Cut out the conditional statement, and the text goes back to normal.
Any ideas on how to get normal looking text in IE and retain the shadow effect? I hope I don’t need a major re-write of the code.
Or do I just have two cheap faulty screens (I’ll be checking other monitors at the weekend at another location).