Tema: Div
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/04/2005, 03:49
kayetano
 
Fecha de Ingreso: marzo-2005
Mensajes: 74
Antigüedad: 19 años, 1 mes
Puntos: 0
Hola

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#izquierda {
	position:absolute; 
	width:40%; 
	height:200px; 
	border:1px solid #FF0000; 
	left:1%;
}

#derecha {
	position:absolute; 
	width:40%; 
	height:200px; 
	border:1px solid #00FF00; 
	left:59%;
}
</style>
</head>

<body>
<div id="izquierda" align="left">&nbsp;</div>
<div id="derecha" align="right">&nbsp;</div>
</body>
</html> 
Con esto consigues tener dos capas en paralelo que modifican su tamaño y posición al redimensionarse el navegador.

Los border solo los pongo para que se vea mas claro el efecto.
__________________
Salu2
KAYETANO