我想将左侧 div 扩展到页面底部。但问题是它停在页面底部但是当我向下滚动时,它保持在垂直大小!它不会随着向下滚动而扩展:-(有什么想法吗?
的HTML:
<div class="menu_gauche">
<div class="ligne_menu_gauche"><div class="accueil"></div><div class="menu_txt">Accueil<a href="/bgladm"><span class="fullspan"></span></a></div></div>
<div class="ligne_menu_gauche" style="background:#FAFAFA;"><div class="compte"></div><div class="menu_txt">Compte<a href="/bgladm-compte"><span class="fullspan"></span></a></div></div>
<div class="ligne_menu_gauche"><div class="options"></div><div class="menu_txt">Options<a href="/bgladm-options"><span class="fullspan"></span></a></div></div>
<div class="ligne_menu_gauche"><div class="notif"></div><div class="menu_txt">Notifications<a href="/bgladm-notif"><span class="fullspan"></span></a></div></div>
<div class="ligne_menu_gauche"><div class="aide"></div><div class="menu_txt">Aide<a href=""><span class="fullspan"></span></a></div></div>
<div class="ligne_menu_gauche"><div class="logout"></div><div class="menu_txt">Deconnexion<a href="/logout"><span class="fullspan"></span></a></div></div>
<div class="vide_menu_gauche"></div>
</div>
<div class="contenu_droit"><div class="envglob_form">
<div class="enveloppe_form">
<input type="text" class="input_text_compte" value="" id="email_compte"> <span>Email</span><br>l
</div>
<div class="enveloppe_form">
<input type="password" class="input_text_compte" id="mdp_actuel"> <span>Mot de passe actuel</span><br><br>
<input type="password" class="input_text_compte" id="mdp_1"> <span>Nouveau mot de passe</span><br>
<input type="password" class="input_text_compte" id="mdp_2"> <span>Retappez le mot de passe</span>
</div>
<div class="enveloppe_form">
<input type="text" class="input_text_compte" id="nom_compte" value=""> <span>Nom</span><br>
<input type="text" class="input_text_compte" id="prenom_compte" value=""> <span>Prénom</span><br>
</div>
<div class="enveloppe_form">
<input type="radio" name="sexe_compte" id="sexe_compteh" value="1"> Homme<br>
<input type="radio" name="sexe_compte" id="sexe_comptef" value="0" checked=""> Femme
</div>
<div class="enveloppe_form"><select id="age"><option value="1933">1933</option><option value="1934">1934</option><option value="1935">1935</option><option value="2004">2004</option></select> <span>Année de naissance</span>
</div>
</div>
<div class="envglob_form2">
<div class="enveloppe_form">
<div class="interets"><span>Centres d'intérêt</span></div><div class="interets" id="interets_id"><div class="interet_compte"><input type="checkbox" name="interets[]" value="1"> Actualités</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="2" checked=""> Animaux</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="3"> Art</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="4" checked=""> Automobile</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="27"> Autre</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="5"> Cinéma</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="6"> Famille</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="7"> Finance</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="8"> Formation</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="9"> Gastronomie</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="10"> Humour</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="11"> Immobilier</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="12"> Informatique</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="13" checked=""> Internet</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="14"> Jeux</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="15"> Littérature</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="16" checked=""> Maison</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="17"> Mode</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="18"> Moto</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="19"> Musique</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="20"> People</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="21"> Photographie</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="22"> Santé</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="23" checked=""> Sciences</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="24"> Sport</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="25"> Téléphonie</div><div class="interet_compte"><input type="checkbox" name="interets[]" value="26"> Voyage</div>
</div>
</div>
</div>
<div class="env_save">
<div id="canvasloader-container" class="loading_anim" style="display: none;"><div id="canvasLoader" style="display: block; position: absolute; top: -49px; left: -49px;"><canvas width="98" height="98"></canvas><canvas width="98" height="98" style="display: none;"></canvas></div></div>
<div class="save" id="save_compte"></div>
</div>
<a href="/supprcompte" class="bouton_suppr">Supprimer le compte</a>
</div>
你会在这里找到小提琴上的 css:http: //jsfiddle.net/gMNzd/