Este es el código:
if(!$mail->Send()) {
{ ?>
<script language="javascript" type="text/javascript">
alert('Su mensaje no pudo ser enviado.');
window.location = 'index.html';
</script>
<?php
}
} else {
?>
<script language="javascript" type="text/javascript">
alert('Gracias por contactar con nosotros.');
window.location = 'index.html';
</script>
<?php
}
Actualmente el alert aparece en una página nueva con un fondo gris horroroso
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
¿Es posible hacerlo?
Gracias! :D
EDITO con un ejemplo:
![](http://s2.subirimagenes.com/otros/previo/thump_8737381untitled2.jpg)
Cómo evitar ese fondo gris de fondo?