I'm attempting to center the menu on a 30px line, but I'm facing an issue where it remains at the top unless I use display: table-cell.
What am I doing incorrectly?
Here is the style sheet file:
.menu
{
width: 600;
height: 30px;
border: 1px solid black;
margin: 0px auto;
text-align: center;
vertical-align: bottom
}
The menu code in my HTML file looks like this:
<div class="space"></div>
<div class="menu">
<a href="index.html">Home</a>
<a href="index.html">Home</a>
<a href="index.html">Home</a>
<a href="index.html">Home</a>
<a href="index.html">Home</a>
</div>
<div class="space"></div>