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; } Quote Link to comment 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! Quote Link to comment Share on other sites More sharing options...
adam84 Posted August 22, 2008 Author Share Posted August 22, 2008 yea, thats good. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.