Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/01/2008, 18:21
Avatar de hades87
hades87
 
Fecha de Ingreso: diciembre-2007
Ubicación: Barcelona - España
Mensajes: 3.194
Antigüedad: 16 años, 3 meses
Puntos: 68
Re: Peginas proporcionales al ancho de la pagina

mira a ver si esto te sirve:

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
</head>
<style type="text/css">
#contenedor{
width: 80%;
height: auto;
border: 1px solid #000;
margin: auto;
}

#columna1{
float: left;
width: 25%;
height: 600px;
border: 1px solid #000;
}

#columna2{
width: 20%;
height: 600px;
width: auto;
border: 1px solid #000;
}

#columna3{
float: right;
width: 25%;
height: 600px;
border: 1px solid #000;
}
</style>

<body>
<div id="contenedor">
<div id="columna1">aaa</div>
<div id="columna3">ccc</div>
<div id="columna2">bbb</div>
</div>
</body>
</html>
__________________
No diseñes usando tablas.

Última edición por hades87; 24/01/2008 a las 18:30