Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/04/2007, 10:56
Avatar de Rafael
Rafael
Modegráfico
 
Fecha de Ingreso: marzo-2003
Mensajes: 9.028
Antigüedad: 21 años, 1 mes
Puntos: 1826
Re: Posicionar / Disponer Capas??

Con css si puedes modificar la posición de las "capas" independientemente del lugar del código donde estén. Juega con esto:

Cita:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>New Document</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style>
div#1, div#2, div#3{width: 100px; height: 100px; position: absolute;}

div#1 {
background-color: red;
top: 50px;
left: 50px;
z-index: 1;}
div#2 {
background-color: green;
top: 70px;
left: 70px;
z-index: 2;}
div#3 {
background-color: blue;
top: 90px;
left: 90px;
z-index: 3;}

</style>
</head>
<body>
<div id="1">1</div>
<div id="2">2</div>
<div id="3">3</div>
</body>
</html>