#parent{height: 300px;width: 200px;border: solid 1px;overflow: hidden;margin: 100px auto;}
#child{height: 300px;width: 200px;overflow-y: auto;padding: 0 20px;}
The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar. The text is out of the scroll bar.