put overflow:auto
in the parent div
see more in this link
More Related Contents:
- Setting the width of inline elements
- A Space between Inline-Block List Items [duplicate]
- Is it wrong to change a block element to inline with CSS if it contains another block element?
- display: inline-block extra margin [duplicate]
- Problems with CSS sticky footer
- Add centered text to the middle of a horizontal rule [duplicate]
- White space at bottom of anchor tag
- 100% Min Height CSS layout
- Making the main scrollbar always visible
- Remove outline from select box in FF
- How to make div occupy remaining height?
- Change checkbox check image to custom image
- display:inline with margin, padding, width, height
- Specifying Tab-Width?
- How to use an tag inside a in the middle of a text? [duplicate]
- Stretching tag to fill entire
- Padding the top and the bottom of inline element
- HTML list-style-type dash
- Table vertical header?
- What’s the point of valid CSS/HTML?
- Block Level Elements inside Inline elements [duplicate]
- Table with table-layout: fixed; and how to make one column wider
- Website content
- How do I keep two side-by-side div elements the same height?
- How to disable equal height columns in Flexbox?
- Is there a way to style part of an input field’s value? [duplicate]
- How to change color of disabled html controls in IE8 using css
- Printing HTML table with many columns/rows using CSS layout?
- Items that span all columns/rows using CSS grid layout
- How to get CSS to select ID that begins with a string (not in Javascript)?