Hello again. I had such a need, so there is a lot of content in a fixed-height diva and I need to scroll there, but I need to leave the scroll wheel, can this be done?

  • Immediately I warn you - prepare a tambourine and make a fire%) - Zowie
  • Zhotke however))) - Palmervan

2 answers 2

<div style="width:484px;overflow:hidden;"> <div style="height:200px;width:500px;overflow-y:scroll;"> Тут ваш контент </div> </div> 
  1. The width of the outer div is 16px less than the inner one. That is, we hide this scroll and that's it. ingeniously true?
  • one
    Only here in Safari this chip does not pass. - Michael Nikolaev
  • one
    Protested ... <br> does not work (which I am not surprised) .. So - no, not brilliant: D <br> Vprintsype acceptable option if: you do not care about safari and are satisfied that the scrolling occurs only when you hover over an element with an invisible Scrolling - Zowie
  • one
    @AlexWindHope what makes you think that this is not working? What are you checking? - Michael Nikolaev
  • one
    In safari (there are always such “rituals” in it and I check it immediately :)) <br> Otherwise, everything seems to be ok ... Even in IE it works: D <br> The only thing that’s not sure is that it works like in old operas .. - Zowie
  • Thanks for the help) - Ilya Nikolaev

to you along the way in this theme theme Site design only for the body instead of the desired div and instead of x will put y

  • 3
    Noooo, then it will not scroll, not for nothing, I wrote about readiness for shamanic rituals: D <br> If they don’t answer, and there’s time tomorrow I’ll think up to solve this issue. <br> <small> By the way, you can implement CSS purely, but it will be Shiman's rituals:) </ small> - Zowie