¿Cómo evita que se representen elementos ocultos (desbordamiento)?
Frecuentes
Visto 94 veces
0
I have an absolute positioned div off the side of the page with just a bit sticking in. I have applied overflow: hidden to html and the parent div, which gets rid of the scroll bar, but people can still use the middle mouse button to move the page across.
Is there a way to prevent anything that overflows from actually being rendered on the page or simply prohibit middle mouse scrolling?
1 Respuestas
0
maybe you need to set overwflow-x and overflow-y, like this:
.class {
overflow-x: hidden;
overflow-y: hidden;
}
if it's not help add some !importanta to this style.
Respondido 28 ago 12, 12:08
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas scroll overflow hidden absolute or haz tu propia pregunta.