Mi sta venendo in mente che potrei settare un background: none per tutte le classi che hanno dei background con png.. più la modifica per tutte le png esistenti nel file html.
Codice PHP:
<!--[if lt IE 7]>
<script type="text/javascript">
for(var itag = 1; itag <= document.getElementsByTagName('*').length; itag++)
{
if (document.getElementsByTagName('*')[itag].style.background.match(/\.png/i))
{
document.getElementsByTagName('*')[itag].style.backgroundImage= "none";
}
var clas = new Array("ciccio", "franco", "franchino", "...");
for (var nclas = 0, nclas <= clas.length-1; nclas++)
{
if (document.getElementsByTagName('*')[itag].className == clas[nclas])
{
document.getElementsByTagName('*')[itag].style.backgroundImage= "none";
}
}
}
</script>
<![endif]-->
E' esatto?