Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/05/2015, 10:15
Avatar de el_cesar
el_cesar
 
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 23 años
Puntos: 20
¿Por que no me toma los estilos?

tengo este script
Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head><meta http-equiv="Content-Type" content="text/html; charset=gb18030">
  4.  
  5. <title>Brillaseo - listado de Eventuales</title>
  6. <link href="estilos.css" rel="stylesheet" type="text/css" />
  7. </head>
  8.  
  9. <body>
  10. <?php
  11. include('conexion.php');
  12.  
  13.  
  14. //recibimos variables
  15. $supervisor=$_POST['supervisor'];
  16. $mantenimiento=$_POST['mantenimiento'];
  17. $novedad=$_POST['novedad'];
  18. $fecha_inicio=$_POST['fecha_inicio'];
  19. $dias=$_POST['dias'];
  20. $turno=$_POST['turno'];
  21. $operario=$_POST['operario'];
  22. $fecha_solicitud=$_POST['fecha_solicitud'];
  23.  
  24. //paso 1, calculamos la fecha de finalizaci贸n del reempplazo Sumando el numero de dias que dura el evento a la fecha inicial.
  25.  
  26. $fecha_fin=strtotime("+$dias day", strtotime($fecha_inicio));
  27.  
  28. //Obtenemos la Fecha de Finalizaci贸n
  29. $fecha_fin=date("Y-m-d",$fecha_fin);
  30.  
  31. //Paso 2, Traemos la lista de los Eventuales
  32.  
  33. $cons0="SELECT * FROM Eventuales";
  34. $rcons0 = mysql_query($cons0);
  35. echo "<table width='50%' align='center'><td><img src='logo_jpg.png' width='150' height='150' /></td>
  36.         <td><h1>Eventuales Disponibles</h1></table>";
  37. echo "<table width='50%' align='center'>
  38.         <tr class='titab'><td>Nombre</td><td>Estado</td>";
  39. while ($lis = mysql_fetch_array($rcons0)){
  40.     $idev = $lis['Id_eventual'];
  41.     $nomev = $lis['Nombre'];
  42.     $ceve="SELECT * FROM Evento WHERE Fecha_fin <= '$fecha_inicio' AND id_eventual = '$idev'";
  43.     $rceve = mysql_query($ceve);
  44.    
  45.     $cuenta = mysql_num_rows($rceve);
  46.    
  47.     if($cuenta == '0') {
  48.         echo "<tr><td>".$nomev."</td>";
  49.         echo "<td>Asignar</td></tr>";
  50.     }else
  51.     {
  52.         echo "<tr><td>".$nomev."</td>";
  53.         echo "<td>No esta Disponible</td></tr>";
  54.     }
  55. }
  56.  
  57.  
  58.  
  59.  
  60.  
  61. ?>
  62.  
  63.  
  64. </body>
  65. </html>

y esta hoja de estilos
Código CSS:
Ver original
  1. @charset "utf-8";
  2. .tabla_verde {
  3.     font-family: Verdana, Geneva, sans-serif;
  4.     font-size: 14px;
  5.     font-weight: bold;
  6.     background-color: #CCE0CC;
  7. }
  8. .tabla_blanco {
  9.     font-family: Verdana, Geneva, sans-serif;
  10.     font-size: 14px;
  11.     font-weight: bold;
  12.     color: #000;
  13.     background-color: #FFF;
  14. }
  15. .input {
  16.     font-family:Verdana, Geneva, sans-serif;
  17.     font-size:14px;
  18.     width:230px;
  19.     border-radius: 5px;
  20.     border-color:#063;
  21. }
  22. .dias {
  23.     font-family:Verdana, Geneva, sans-serif;
  24.     font-size:14px;
  25.     width:50px;
  26.     border-radius: 5px;
  27.     border-color:#063;
  28. }
  29. h1 {
  30.     font-family:Verdana, Geneva, sans-serif;
  31.     font-size:3em;
  32.     font-weight:bold;
  33.     color:#06F;
  34. }
  35. .titab {
  36.     bgcolor:#0066FF; color:#fff; font:Verdana, Geneva, sans-serif; font-size:1em; text-align:center;
  37.     }

Pero resulta que no me está tomando los estilos.
__________________
Say no more.......