I have a set of side by side divs (actually using HTML5 sections, but I assume the solution and behavior are the same). They sit in a container with the right side holding the form fields, and the left side with a summary heading and information. The structure looks something like this:
<div id="container"> <div id="left" >Summary here</div> <div id="right">Form fields here</div> </div>
Trap: I need to hide or show various fields depending on the actions performed using javascript, so the actual height of the right side and the container is not static. I need the left side to fill the height of the container so that it matches the rule. I have tried many solutions on the Internet, but nobody is working.
Thanks in advance!
source share