0
Guys how can i create a navigator bar with a container aligning the home, contact and the rest to the left with just HTML?
navigator bar with html
2 Answers
0
thanks alot bro @ihateonions
+ 1
Little confused by your question. If Ive got it correct then the below should be fine.
<nav>
<ul>
<li>Home</li>
<li>Contact</li>
</ul>
</nav>
<style>
body {width:100%;margin:0;padding:0;background-color:#efefef;}
nav {width:100%;padding:10px 0 10px 0;background-color:#ffffff;float:left;}
nav ul {width:50%;float:left;list-style:none;}
nav ul li {float:left;margin-right:20px;}
</style>