Adjust the left container as per right container height without using height property in css
- 阅读更多 关于 Adjust the left container as per right container height without using height property in css
问题 I have two divs one left side and another right side . In right side contents are dynamically loaded by click the left side menus. Based on the contents height the left side container also increase by same height. i attached screenshot for this problem Expected result be: ![enter image description here][3] Any help be appreciated. Thanks 回答1: You can achieve this as follows, basically we are using position relative and playing with it Demo HTML <div id="container2"> <div id="container1"> <div