adam84 Posted August 22, 2008 Share Posted August 22, 2008 I have a div inside a div. What I want to do is have the loginMenu div at the bottom of the leftMenu div. But I do not know how to do that. Thanks <div class="leftMenu"> Left Menu <div class="loginMenu"> Login Menu </div> </div> .leftMenu{ border: 1px solid #333233; width: 15%; height: 65%; margin:0; padding:0; float:left; } .loginMenu{ border: 1px solid #333233; width: 100%; height: 25%; margin:0; padding:0; float:left; } Link to comment https://forums.phpfreaks.com/topic/120870-solved-div-vertical-aligning/ Share on other sites More sharing options...
TheFilmGod Posted August 22, 2008 Share Posted August 22, 2008 You need to use absolute positioning. Set it to bottom: 0; Make sure the parent div is relatively positioned. Hope that helps! Link to comment https://forums.phpfreaks.com/topic/120870-solved-div-vertical-aligning/#findComment-623074 Share on other sites More sharing options...
adam84 Posted August 22, 2008 Author Share Posted August 22, 2008 yea, thats good. Thanks Link to comment https://forums.phpfreaks.com/topic/120870-solved-div-vertical-aligning/#findComment-623083 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.