Jump to content

[SOLVED] DIV Vertical Aligning


adam84

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.