Div + CSS is still relatively difficult to implement. It is difficult to achieve the adaptive height of the upper and lower Divs. I checked the information and found that only the upper and lower heights are hundreds of ratios, I want to implement the above Div as the specific pixel height. below is the adaptive ratio of the remaining parts. I have to use JavaScript for a moment. I don't know if it's stupid. Please post a good method.
<Body style = "Height: 100%; margin: 0px; width: 100%;">
<Div id = "ddii22" style = "background-color: # ffffff; Height: 110px; position: absolute; left: 0px; top: 0px; width: 100%; z-index: 1000 ">
1111111111111111
</Div>
<Div id = "ddii" style = "background-color: #999999; Height: 100%; position: absolute; left: 0px; top: 110px; width: 100%; z-index: 100 ">
<Div style = "height: 100%; overflow: auto;">
</Div>
</Div>
<SCRIPT type = "text/JavaScript">
Document. getelementbyid ('ddii '). style. Height = Document. getelementbyid ('ddii'). clientHeight-110 + 'px ';
</SCRIPT>
</Body>