خرید بک لینک
I want a fixed navigation bar that takes up all of the top of the screen with page links center'd in the middle then to the right I would like to include Facebook and Instagram links that always sit top right of the screen inline with the edge of the content. I have tried several methods to achieve this but none that seemed to work.
Click image for larger version. 

Name:	Nav Bar.jpg 
Views:	7 
Size:	26.1 KB 
ID:	17165
As you can see in the image, I have been able to add the links in with the rest of the links in the center but unable to move them over to the right with out them been behind the navbar.
The code I have is as follows:
Code:

<ol>
<center>
  <li><a href="Index.html">Home</a></li>
  <li><a href="voyages.html">Voyages</a></li>
  <li><a href="tips and tricks.html">Tips & Tricks</a></li>
  <li><a href="gallery.html">Gallery</a></li>
  <li><a href="https://www.facebook.com/">
                <img src="images/FB-f-Logo__blue_29.png" alt="Facebook"></a></li>
  <li><a href="https://www.instagram.com/">
                <img src="images/Instalogo.png" height="29" width="29" alt="Instagram"></a></li>       
</center>
</ol>

And this what i have in the css:
Code:

ol {
          list-style-type: none;
        overflow: visible;
    margin-bottom: 0px;
        margin-top: 0px;
        margin-left: -10px;
        margin-right: -10px;
        background-color: #ececec;
        position: fixed;
    top: 0;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
       
}
li a {
    color: #696969;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
        font-family: verdana;
    font-size: 20px;
}
li {
        display: inline;
}
a:link {
    color: #696969;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #696969;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: blueviolet;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: dimgray;
    background-color: transparent;
    text-decoration: underline;
}

Researched a lot online but nothing seems to work starting to wonder if I need to do the Nav Bar in a complete different way. Open to any suggestion that will achieve the look I desire.
This is what I want it to look like (mocked up in photoshop): Click image for larger version. 

Name:	Desired Look.jpg 
Views:	7 
Size:	26.7 KB 
ID:	17166
Cheers
Attached Thumbnails
Click image for larger version. 

Name:	Nav Bar.jpg 
Views:	N/A 
Size:	26.1 KB 
ID:	17165   Click image for larger version. 

Name:	Desired Look.jpg 
Views:	N/A 
Size:	26.7 KB 
ID:	17166  

برچسب: نویسنده: آیلین رضوانی تاريخ: شنبه 20 خرداد 1396 ساعت: 4:51

صفحه بندی