Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/04/2009, 12:09
Avatar de talmente
talmente
 
Fecha de Ingreso: noviembre-2007
Mensajes: 233
Antigüedad: 16 años, 5 meses
Puntos: 4
Respuesta: DIV acoplados

Por que entre el padding y width suman más que el contenedor.


Pruba con esto:

Código:
#col1 {
	width:32%;
	background: yellow;
	float:left;
	padding: 1%;
}

#col2 {
	width:31%;
	background: green;
	float:left;
	padding: 1%;
}

#col3 {
	width:31%;
	background: orange;
	float:left;
	padding: 1%;
}