Home › Forums › CSS › Nested div question › Re: Nested div question
December 20, 2012 at 6:50 am
#118238
SgtLegend
Member
The only way I have ever known how to do it (_mainly because I don’t like horizontal content that scrolls_) is by have the parent container use a set width with an inner container that is the width of the elements within it in which case is `600px` in your example.
See the following pen for an example: http://codepen.io/ChrisUpjohn/pen/qGAri