Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/03/2011, 12:27
ArielGomeX
 
Fecha de Ingreso: marzo-2011
Mensajes: 20
Antigüedad: 13 años, 8 meses
Puntos: 0
Respuesta: Maquetación de cuadros

Ese codigo tiene MUCHOS errores, te recomiendo que utilises UL no tantos DIVs para hacer algo tan simple.

Este es un ejemplo que me tomo 10 minutos.

Código:
#ContentColumn {
	width: 920px;
	height: 860px;
	position: relative;
	margin: 0 auto;
	background: #ccc;
	border: solid 5px #999;
	padding: 20px;
}
.Columna1 {
	display:block;
	position: absolute;
	left:20px;
	top:20px;
	list-style: none;
	width: 350px;
}
.Columna1 li {
	display:block;
	width: 350px;
	margin-bottom:20px;
}


.Columna2 {
	display:block;
	position: absolute;
	right: 20px;
	top:20px;
	list-style: none;
	width: 350px;
}
.Columna2 li {
	display:block;
	width: 350px;
	margin-bottom:20px;
}
Código HTML:
<div id="ContentColumn">

<ul class="Columna1">
<li>
<h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p>
</li>

<li>
<h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p></li>

<li>
<h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p>
</li>
</ul>


<ul class="Columna2">
<li><h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p></li>
<li><h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p></li>
<li><h3>VISION</h3>
<img src="images/vision.gif" alt="vision" />
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting</p></li>
</ul>

</div> 

Última edición por ArielGomeX; 24/03/2011 a las 12:40