Ver Mensaje Individual
  #23 (permalink)  
Antiguo 10/02/2005, 11:23
furoya
(Desactivado)
 
Fecha de Ingreso: noviembre-2002
Ubicación: Ciudad Autónoma de Buenos Aires
Mensajes: 2.367
Antigüedad: 21 años, 5 meses
Puntos: 317
Hola otra vez :

vuelvo por el asunto de " la barra de desplazamiento del iexplore aparece más a la izquierda ".

Probé el código en IE y FF.

Código:
 
<html>
<head><title> MENÚ FIJO.</title>
<style>
* html body { 
  overflow:hidden; 
} 
#Fija { 
  position:absolute; 
  top:0; 
  left:0; 
} 
html>body #Fija { 
  position:fixed; 
} 
#Todo { 
  position:absolute; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%; 
  overflow:auto; 
} 
html>body #Todo { 
  position:static; 
  top:auto; 
  left:auto; 
  width:auto; 
  height:auto; 
  overflow:visible; 
}
</style>
</head>
<body leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>

<div id=Todo>
<p>&nbsp;
<h2 style="margin-left:110px">Mantiene un elemento fijo mientras se desplaza el documento.</h2>

<p style="margin-left:110px">En <b>IE</b> el efecto es simulado.</p>

<img height=500 width=0><br>

<h3 style="margin-left:110px">Fin.</h3>
</div>

<div id=Fija style="height:100px; width:100px; background-color:bisque">
<h1>MENÚ</h1>
</div>

</body>
</html>
saludos

furoya