0
I am creating a new site, and in it has a DIV that exceeds the Width of the body, which ends up activating the X-axis scrollbar. I wanted to know how to do so regardless of the size of this particular DIV, that it does not activate the scrollbars, but any other DIV that exceeds the body activates the bars normally.
otherwise I’m mistaken is overflow:None; no css
– LocalHost
Yes, there is the Overflow: Hidden, when applied to Body makes the scrollbars disappear on the X and Y axes. But in my case, there is only one DIV that is overstepping the bounds, I want it, regardless of its size, does not activate scroll, but if I create another one that has the same size it activates scroll normally.
– Wallace Monteiro
@Wallacemonteiro, you can’t put that div in another
overflow: hidden
?– Samir Braga
That was it then haha. It worked here. I came across another problem, but this is already a subject for another topic I believe. Thank you very much Samir!
– Wallace Monteiro