Try this for the parent, it worked for me.
overflow:auto;
UPDATE:
One more solution that worked:
Parent:
display: table;
Child:
display: table-row;
More Related Contents:
- Blank Space To Right Of Webpage? (Hidden min-width?) [closed]
- div 100% width with other div fixed
- How to design an HTML/CSS signature that will work in Outlook 2016? [duplicate]
- Trying to work on responsiveness of login form
- CSS: Width in percentage and Borders
- Can ordered list produce result that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, …) with css?
- Why does position:relative; appear to change the z-index?
- Align an element to bottom with flexbox
- Does opacity:0 have exactly the same effect as visibility:hidden
- :after and :before CSS pseudo elements hack for Internet Explorer 7
- What’s the difference between flex-start and baseline?
- Scroll particular DIV contents with browser’s main scrollbar
- CSS horizontal centering of a fixed div?
- Giving a border to an HTML table row,
- Creating a ‘New’ spiky label with 24 or above point burst
- How to prevent text in a table cell from wrapping
- Font Awesome icons are not working, I have included all required files [closed]
- Half circle with CSS (border, outline only)
- How do I make Firefox auto-refresh on file change?
- Tooltip with HTML content without JavaScript
- Change color of one character in a text box HTML/CSS [duplicate]
- Second line in li starts under the bullet after CSS-reset
- Stretching tag to fill entire
- Blank iFrame in IE
- How position absolute and fixed block elements get their dimension?
- Ring-shaped process spinner with fading gradient effect around the ring
- text-decoration not working for visited state link
- Can you style ordered list numbers?
- Div with horizontal scrolling only
- Best Way to do Columns in HTML/CSS