Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2012, 14:59
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 11 meses
Puntos: 539
Respuesta: Problema box-shadow en body al hacer scroll

Curioso.
Y no es su código. O al menos no sólo en su código del pie abajo y altura 100%
Lo probé en algunas viejas realizaciones añadiendo box-shadow al html, body {} y me ocurría lo mismo. En Firefox y Chrome.

La solución para evitar ese corte en la sombra que he encontrado, así, deprisa y sin verificar otras cuestiones pasa por:
sacar el scroll del html y que lo muestre body
Dejar body sin background y sin sombra y declararlo al html
tal que así

Código CSS:
Ver original
  1. * {margin:0; padding:0; border: 0 none; position: relative;}
  2. html {
  3.   background: #000;
  4.   box-shadow: 0 0 100px #fff inset;
  5.   overflow: hidden;
  6. }
  7. html, body {
  8.   height: 100%;
  9.   font-size: 1em;
  10. }
  11. body {
  12. overflow: scroll;
  13. }
  14. #contenedor {
  15.   min-height: 100%;
  16.   height: auto !important;
  17.   height: 100%;
  18.   margin: 0 auto -3em;
  19.   background: #EEDCB4;
  20.   min-width: 800px;
  21. }

Mi #contenedor sería su #container
No haga caso al margen inferior negativo (pues la estructura de pie abajo y alto 100% es diferente a la suya)

Sólo lo he verificado en Firefox y Chrome y sólo el efecto del corte.
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++