Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/05/2008, 17:08
Cenfer
 
Fecha de Ingreso: febrero-2007
Mensajes: 85
Antigüedad: 17 años, 1 mes
Puntos: 0
Re: error paranoico en doctype.

Hola,

Codigo CSS:

@charset "utf-8";
/*Inicio del CSS*/
/*CSS Cuerpo*/
body{
background:#EEEEEE;
background-image: url('../imagenes/fondos/web.jpg');
margin:0 auto 0 auto;
text-align:center;
}
#header{
width:930px;
margin:0 auto 0 auto;
}
#menu{
background-color:#FFFFFF;
margin:0 auto 0 auto;
width:930px;
height:30px;
}
#contenido{
background-color:#FFFFFF;
margin:0 auto 0 auto;
width:930px;
height:900px;
}
#footer{
background-color:#FFFFFF;
margin:0 auto 0 auto;
width:930px;
height:90px;
}
/*CSS Cuerpo*/
/*Fin del CSS*/

Código XHTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Webtools</title>
<link rel="stylesheet" href="estilos/principal.css" type="text/css"/>
</head>
<body>
<div id="contenedor">
<div id="header">
<img src="imagenes/cabezera.jpg" width="930" height="120" alt="Webtools"/>
</div>
<div id="menu">
</div>
<div id="contenido">
</div>
<div id="footer">
Mapa Web
</div>
</div>
</body>
</html>