Ver Mensaje Individual
  #8 (permalink)  
Antiguo 22/12/2008, 18:26
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Cambiar de posición DIvs

En ese caso se me ocurre una manera (un simple ejemplo):

Cita:
<!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" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title></title>
<style type="text/css">
#contenedor {position: relative;
padding-bottom: 22px;
}
.div_01, .div_02 {color: #fff;}
.div_01 {background-color: #00f;
position: absolute;
height: 22px;
width: 100%;
bottom: 0;
}
.div_02 {background-color: #f0f;}
</style>
</head>
<body>
<div id="contenedor">
<div class="div_01">Bloque 1</div>
<div class="div_02">Bloque 2</div>
</div>
</body>
</html>
__________________
Visita mi nueva web idplus.org