January 1, 201313 yr .nav-bar a { margin: 4px 0px 0px 4px; color: #004890; font-size: 13px; text-decoration: none; font-weight: bold; }
January 1, 201313 yr Without seeing all your page and being able to download and test, it's difficult to say. Sometimes using padding instead of margin works, sometimes a top margin to the parent element helps; or even a larger line-height which will keep the text in the middle, therefore lowering it. It depends on how you want to do it.
January 1, 201313 yr Author Here's all I have right now until I get it to work. I have tried using margin-top but it does not work either. <div class="nav-bar"> <a href="/">Home</a> </div>
January 1, 201313 yr Author Here's all that my nav-bar has right now. .nav-bar { background-image: url('images/Nav-bg.jpg'); height: 31px; width: 100%; }
Create an account or sign in to comment