5
I would like to hide these two bars (Vertical and Horizontal), I have configured my . css file with the settings below, but they are not working:
@charset "UTF-8";
section#conteudo{
width: 1000px;
margin: auto;
}
iframe#frameEspecificacoes{
width: 400px;
height: 280px;
border: none;
overflow: hidden;
}
iframe#frameEspecificacoes::-webkit-scrollbar {
display: none;
}
You tried to use
overflow: hidden;
?– Thiago Santos
That’s what I’m using in iframe#frameEspecifics. And it doesn’t work.
– MagShania
The element containing the iframe must have the
overflow:hidden
too– Thiago Santos
It didn’t work, I just added...
– MagShania
Check which element is with the scrollbars, because it is certainly not the iframe, as Section has width 1000px checks if the Section Parent element is not the one that is bursting.
– Thiago Santos
It didn’t work for me in this exercise either, maybe it’s not the best way, but I was only able to hide the scroll bar using the parameter/attribute (scrolling="None") inside the iframe tag. Ex.: <iframe src="google-Glass.html" scrolling="no" name="window" id="frame-spec"></iframe>
– Kennedy
I could also only add scrolling="no" to the <iframe ...tag, thus: <iframe src="google-Glass.html" name="window" id="frame-spec" scrolling="no"></iframe>
– Alcivan