I'm new in web development and I'm working on a website using HTML and CSS. I am having a problem with my menu, i want it to be in horizontally bottom alignment with my log but it appears to be in top alignment instead.
Here is my code, please suggest the solution.
HTML:
<hgroup>
<div id="Head">
<img src="img/logo.png" width="380" height="100" alt="Logo" />
</div>
<div id="navcontainer">
<ul>
<li><a href="#">HOME</a>
</li>
<li><a href="#">ABOUT</a>
</li>
<li><a href="#">PROJECTS</a>
</li>
<li><a href="#">GALLERY</a>
</li>
<li><a href="#">CONTACT</a>
</li>
</ul>
</div>
</hgroup>
CSS:
#Head {
float:left;
margin-left:120px;
margin-right:150px;
width:200px;
height:150px;
}
/*------------------------*/
#navcontainer {
margin-top: 50px;
}
#navcontainer ul {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
#navcontainer ul li {
display: inline;
}
#navcontainer ul li a {
text-decoration: none;
padding: .2em 1em;
color:#000;
font-size:18px;
}
#navcontainer ul li a:hover {
color:#008c00;
}