Código PHP :
<?php header('Content-type: application/vnd.ms-excel'); header("content-disposition: attachment;filename=Inscritos_".date("d-m-Y")."_".$db_nom["nombre_curso"].".xls"); header ("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Expires: 0"); ?> <head> <link rel="stylesheet" href="css/cajaboba.css" type="text/css" /> <link rel="stylesheet" href="css/paginador.css" type="text/css" /> ... </head>