Purtroppo non funziona... non capisco.. ho un javascript identico, riferito però a dei div e a degli h2 e funziona perfettamente..
Guarda:
questo funziona... e la sintassi è la stessa. :master:codice:<!--[if IE]> <script type="text/javascript"> document.getElementById('immagine_bottom').style.height = '180px'; document.getElementById('accauno').style.marginBottom = '-21px'; document.getElementById('primoh2').style.marginBottom = '-21px'; document.getElementById('primoh2').style.marginLeft = '32px'; document.getElementById('primoh2').style.width = '912px'; document.getElementById('secondoh2').style.marginBottom = '-2px'; </script> <!-- [else]> <script type="text/javascript"> //alert (document.getElementById('accauno').style.margin-bottom); document.getElementById('immagine_bottom').style.height = '160px'; document.getElementById('accauno').style.marginBottom = '-10px'; document.getElementById('primoh2').style.marginBottom = '-10px'; document.getElementById('primoh2').style.marginLeft = '37px'; document.getElementById('primoh2').style.width = '907px'; document.getElementById('secondoh2').style.marginBottom = '-2px'; </script>