I'm struggling to understand why the browser is not allowing me to apply margin-top or padding-top to a DIV in order to center the text.
HTML -
<div id="header">
<div id="Nav">
<div id="navright">
<a href="#">Home</a>
<a href="#">About Us</a>
<a href="#">Contact Us</a>
<a href="#">Find Us</a>
</div>
</div>
</div>
CSS -
#nav {
width: auto;
position: relative;
}
#nav a {
margin-left: 5px;
margin-right: 5px;
text-decoration: none;
font-family: "Arial";
font-size: 14pt;
color: #ffffff;
position: relative;
margin-top: 10px;
}
Result -
Can anyone see what I'm doing incorrectly? Thank you