Código HTML :
<div class="page"> <div class="header"> </div> <div id="lateral" class="lateral"> <iframe id="iFrameLateral" runat="server" src="Lateral.aspx"> </iframe> </div> <div class="main"> </div> </div>
y este es mi css:
Código :
html,body { margin:0; padding:0; height:100%; } iframe { height:100%; display:block; width:100%; border:none; bottom:0px; } .header { height:90px; position:relative; clear:both; width:100%; } .lateral { top:90px; overflow-x:hidden; overflow-y:auto; float:left; height:100%; bottom:0px; } #iFrameLateral { width: 245px; left:0; height:100%; }
El problema que tengo, es que al poner top:90px;, se pierden esa cantidad de pixeles por debajo del bottom. No consigo que se vea el 100% de verdad del espacio restante, es decir, desde el top:90px hasta el bottom 0.
¿Alguien sabe cómo podría hacer? Me tiene loco