Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/06/2013, 07:01
Avatar de madman_18
madman_18
 
Fecha de Ingreso: agosto-2010
Mensajes: 792
Antigüedad: 13 años, 9 meses
Puntos: 14
Respuesta: Quitar Scroll de body,html

Ok, os pongo el código HTML y el CSS:

Estoy probando con un código menos abultado que el de la página para comprobar a ver qué le ocurre

Código HTML:
Ver original
  1. <ul>
  2. <li><a href=#bloque1>Bloque 1 </a></li>
  3. <li><a href=#bloque2>Bloque 2 </a></li>
  4. <li><a href=#bloque3>Bloque 3 </a></li>
  5. </ul>
  6. <section class=contenedor-1 id=bloque1>adsfasdf</section>
  7. <section class=contenedor-2 id=bloque2>asdf3r324</section>
  8. <section class=contenedor-3 id=bloque3>gf31w</section>
  9. </body>
  10. </html>

Código CSS:
Ver original
  1. body,html{
  2.     width:100%;
  3.     height:100%;
  4.     font-family: 'Gabriela',san-serif;
  5.     background: #FAFAFA;
  6.     overflow:hidden;
  7. }
  8. .contenedor-1,.contenedor-2{
  9.     width:100%;
  10.     min-height: 100%;
  11.     height:auto;
  12. }
  13. .contenedor-1{
  14.     background: #FAFAFA;
  15.     padding: 20px 0;
  16. }
  17. .contenedor-2{
  18.     background:
  19.         url('imagenes/sombra_sup.png') repeat-x top left,
  20.         url('imagenes/sombra_sup.png') repeat-x bottom left #F2F2F2;
  21. }
__________________
"Si consigues ser algo más que un hombre, si te entregas a un ideal, te convertes en algo muy diferente"