Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/01/2007, 13:37
Tomillo
 
Fecha de Ingreso: febrero-2002
Mensajes: 503
Antigüedad: 22 años, 2 meses
Puntos: 0
Re: Ayuda con vertical-align

Y ahora como puedo hacer para que cuando achico el navegador, que la caja (las dos segun el ejemplo de Mikmoro) quede fija, y no se mueva, probe con todas las posiciones de "position" pero no logro arreglar eso.

Aqui les paso el codigo..

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>

<style type="text/css">
#banner_fondo1 {
	float:right;
	width: 498px;
    height: 100px;
	position:absolute;
    background-image:url(../images/banner_fondo.gif);
	right: 50px;
	top: 6px;
}

#banner_fondo2 {
	width: 468;
    height: 60;
    top: 50%;
    margin-top: -30px;
    position: absolute;
    left: 50%;
    margin-left: -235px;
}

#logo {
	float:left;
	width:98px;
	height:105px;
	padding-left:100px;
	position:absolute;
}
</style>
</head>

<body>
<div id="logo">
<img src="images/logo.gif" width="98" height="105" /></div>
<div id="banner_fondo1">
<div id="banner_fondo2">
<img src="images/banner_c_unit3.gif" width="468" height="60" /></div>
</div>
</body>
</html> 
Prueben achicar el navegador y veran que la caja se va a superponer al logo, yo lo que quiero es que en ningun momento se mueva la caja al achicar el navegador.


Saludos
__________________
WwW.oasisforo.CoM.ar