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

11th Dec 2017, 6:10 AM
Chimezie Bright
Chimezie Bright - avatar
2 Réponses
0
thanks alot bro @ihateonions
11th Dec 2017, 3:21 PM
Chimezie Bright
Chimezie Bright - avatar
+ 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>
11th Dec 2017, 2:41 PM
ihateonions