Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/10/2008, 05:38
Daitron
 
Fecha de Ingreso: octubre-2008
Mensajes: 112
Antigüedad: 15 años, 7 meses
Puntos: 1
Respuesta: Problema al incluir CSS con php

Sobre los acentos

al inicio de la funcion coloca lo siguiente

header("Content-Type: text/html; charset=iso-8859-1");

ejemplo:

Código php:
Ver original
  1. function cuerpo_user()
  2. {
  3. //Cerramos PHP para incluir codigo HTML
  4. header("Content-Type: text/html; charset=iso-8859-1");
  5.     ?>
  6.     <link href="estilo.css" rel="stylesheet" type="text/css" />
  7.    
  8.     <div id="cabecera">
  9.         <div id="bienvenido">
  10.            
  11.           <p>