Hello, I have 2 div elements next to each other, in the first one there is an image of the height property in css with the value of auto and in the second one I want a simple menu to be found. What I want is for the menu to be at the bottom and to match the height of the first div.
The code I have is this:
.mheader {
width:100%;
height:auto;
}
.logo {
width:25%;
background-color:#27AD57;
float:left;
}
.logo_img {
width:100%;
}
.menu {
width:75%;
float:right;
vertical-align:bottom;
text-align:bottom;
background-color:#2600FF;
}
<div class="mheader" >
<div class="logo" >
<img class="imagen" alt="imagen"/>
</div>
<div class="menu" >
<span><a href="#" >Link A</a></span>
<span><a href="#" >Link B</a></span>
<span><a href="#" >Link C</a></span>
<span><a href="#" >Link D</a></span>
</div>
</div>
This gives me the following result:
And what I need is something like that