Ver Mensaje Individual
  #8 (permalink)  
Antiguo 22/04/2008, 18:11
Cenfer
 
Fecha de Ingreso: febrero-2007
Mensajes: 85
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: Ayuda con footer.

La estructura que quiero yo es como esta: http://www.araudi.net/forosdelweb/pie_en_el_fondo.html

y el código que estoy haciendo es:

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>hola.</title>
<link rel="stylesheet" href="estilos/principal.css" type="text/css"/>
</head>
<body>
<div id="cuerpo">
<div id="header">
<p>Header</p>
</div>
<div id="menu">
<p>Menu</p>
<p>&nbsp;</p>
</div>
<div id="explicacion">
<p>Explicacion</p>
<p>&nbsp;</p>
</div>
<div id="contenido">
<p>Contenido</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div id="powered">
<p>&nbsp;</p>
<p>Powered</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div id="footer">
<p>Footer</p>
</div>
</div>
</body>
</html>

CSS:

/*Inicio del CSS*/
@charset "utf-8";
body{
background-color:#ffffff;
margin:0;
padding:0;
clear:both;
}

#header{
background-color:#333;
height:150px;
}



#footer {
background-color:#000000;
height:20px;
clear:both;
}
/*Fin del CSS*/

Voi mal?