Tema: Divs
Ver Mensaje Individual
  #7 (permalink)  
Antiguo 13/09/2008, 02:23
Nathan_1979
 
Fecha de Ingreso: mayo-2007
Mensajes: 348
Antigüedad: 16 años, 10 meses
Puntos: 9
Respuesta: Divs

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=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">

* {
	padding:0;
	margin:0;
}

#cabecera {
	margin:20px auto 0 auto;
	width:730px;
	height:110px;
	background-color:#c8c8c8;
}

#cabecera h1 {
}

#contenedor {
	overflow:hidden;
	width:730px;
	margin:0 auto;
}
#colI {
	float:left;
	width:545px;
	height:600px;
	background-color:#9c9999;
}

#colI h2 {
	height: 130px;
	text-align: right;
	font-size: 30pt;
	color: #f0f0f0;
}
#colD{
	float:left;
	width:185px;
	height:600px;
	background-color:#4f4f4f;
}
</style>
</head>

<body>


<div id="cabecera">
<h1>flash</h1>
</div>

<div id="contenedor">

	<div id="colI">
		<h2>
				Clases particulares y a domicilio
		</h2>
asfa</div>

	<div id="colD">derecha!</div>

</div>


</body>
</html> 
No te compliques, lo que quieres es eso.

Un saludo.