#1 6. Februar 2014 Ich habe zwei DIVs nebeneinander. Wenn das rechte höher wird als 100%, soll das linke mitwachsen. Mit height: 100% wird das nichts. Gibts da eine Lösung für? (Ist eine ausfahrbare Navigationsleiste) Es soll das Div #nav neben der Section #content angezeigt werden. HTML Code: [/FONT][/COLOR]<div id="main"> <header> <h2 class="hidden">Header</h2> <div class="container"> <div class="left"> <img src="img/nav.png" id="navicon" alt="Click to open Navigation Menu"> </div> <div class="right"> b </div> <div class="clear"></div> </div><!-- /.container --> </header> <div id="nav"> NAV </div> <section id="content"> <div class="container"> CONTENT </div><!-- /.container --> </section><!-- /#content --> </div><!-- /#main --> [COLOR=#141414][FONT=Calibri] CSS Code: [/FONT][/COLOR]#content { min-height: 100%; height: auto; width: 100%; display: inline;} #nav { width: 300px; min-height: 100%; height: auto; background: rgba(85, 85, 85, 1); position: absolute;} [COLOR=#141414][FONT=Calibri] + Multi-Zitat Zitieren
#2 6. Februar 2014 Zuletzt von einem Moderator bearbeitet: 13. April 2017 AW: Div autom. höher 100% [CSS] DIV Container 100% Height - RR:Board + Multi-Zitat Zitieren