Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/09/2009, 10:02
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 15 años
Puntos: 45
Respuesta: Crear web de tres columnas

Hola felipe88

Bienvenido al foro

No conozco exactamente que es lo que deseas, pero pueba esto (a ver si es lo que necesitas):

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contenidos en tres columnas</title>
<style>
* {
	margin: 0;
	padding: 0;
	outline: 0;
}
html, body {
	width: 100%;
	height: 100%;
	overflow: auto;
}
#cuerpo {
        width: 100%;
        height: 100%;
        position: relative;
}
#izquierda {
        width: 291px;
        height: 100%;
        background-color: #d0cece;
        float: left;
}
#centro {
        width: auto;
        height: 100%;
        background-color: #ffffff; 
        float: left;
}
#derecha {
        width: 230px;
        height: 100%;
        background-color: #d0cece;             
        float: right;
    }
</style>
</head>

<body>
	<div id="cuerpo">
		<div id="izquierda">
			Contenido del lado izquierdo
		</div>
		<div id="centro">
			Contenido del centro
		</div>
		<div id="derecha">
			Contenido del lado derecho
		</div>
	</div>
  </body>
</html> 
Comenta algo...

Bye