<img id='imgT' src="...">
<div id="divL"></div>
<div id="divR"></div>
css
body{
max-width:1024px;
}
#imgT{
width:100%;
border:thin solid blue;
display:block;
}
#divL{
width:20%;
height:100px; // I need 100%
background:#008080;
float:left;
}
#divR{
width:80%;
height:100px; // I need 100%
background:blue;
float:left;
}
fiddle is here
So, how can I make the two divs height 100 percent, i.e. from the bottom of image to the bottom of page.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…