<div id="parent">
<div id="leftColumn"></div>
<div id="rightColumn"></div>
</div>
- When the height of the ‘leftColumn’ and the ‘rightColumn’ less than
screen height, the ‘leftColumn’ and ‘rightColumn’ should have the same
height as screen. - If the height of the ‘leftColumn’ and the ‘rightColumn’ longer than
screen height, the ‘parent’ div should expand automatically.
Is there anyone know how to solve this problem? Thanks in advance.
left and right columns:
parent:
That should work 😉