Currently, I have a div element containing various content with Java dropdown links causing the length of the content to vary greatly vertically.
By applying "overflow-y: scroll," the content remains in the layer and a scrollbar appears, functioning as intended.
However, my goal is for the layer to expand vertically so that I can utilize the main scrollbar of the browser window rather than having a scrollbar within the container/layer itself.
<div id="Layer1"
style="position:absolute;left:13%;top:160px;width:75%;height:150%;z-index:2;
opacity=0.50;overflow-y: scroll"><?php include($mitte);?></div>
What CSS properties should I add to achieve this? The height of the layer should dynamically adjust (vertically) as the content from the php file increases.
Any advice on how to accomplish this would be greatly appreciated!