How to enable scrolling of content inside a modal?

user798204 picture user798204 · Sep 22, 2011 · Viewed 122.2k times · Source

I'm trying to fit a lot of text into a modal box created using Twitter Bootstrap, but I'm having a problem: that content refuses to scroll.

I tried adding overflow:scroll and overflow-y:scroll, but to no avail; that merely causes it to display a scroll bar without actually enabling the scrolling.

What's the cause behind that and what can I do?

Answer

jktress picture jktress · Oct 17, 2011

In Bootstrap.css change the background attribute (position) of Modal from fixed to absolute