<header class="top-header">
<div class="container">
<div class="logo">
<img src="./dist/img/usjr-logo.png" alt="" href="http://www.usjr.edu.ph" id="logo">
</div>
<nav class ="top-nav">
<ul>
<li class="current"><a href="index.html">Link A1</a></li>
<li><a href="">Link A2</a></li>
<li><a href="">Link A3</a></li>
</ul>
</nav>
</div>
</header>
<nav class="navigation-menu">
<ul>
<li><a href="#">Link B1</a></li>
<li><a href="#">Link B2</a></li>
<li><a href="#">Link B3</a></li>
<li><a href="#">Link B4</a></li>
</ul>
</nav>
This code snippet represents the content of my index.html file.
Below is a section from my CSS file:
@import url('https://fonts.googleapis.com/css?family=Nunito|Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');
/*Other styling rules and imports are included...*/
nav.top-nav > ul > li {
display : inline-block;
}
nav.top-nav > ul > li > a{
color :#fff;
text-decoration: none ;
padding : 30px ;
text-align : right ;
}
header.top-header {
margin-top : 10px;
background-color : #FFF;
height :100px;
}
nav.navigation-menu > ul > li > a {
color : #FAB301 ;
}
An image can be viewed here.
I am trying to position the Link A elements to the top right-center of the navigation in the top-header class. Any suggestions on how to achieve this?