What's new

navigation bar code


New member
Hi All, Is anyone able to help with html only horizontal navigation bar. Looking for a nav bar much like the one on this site, without the drop down menus but with a colour background. Has to be html, no css. Can anyone help or point me to an existing resource?
Many thanks
/* Add a black background color to the top navigation */
.topnav {
background-color: #333;
overflow: hidden;

/* Style the links inside the navigation bar */
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;

/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;

/* Add a color to the active/current link */
.topnav a.active {
background-color: #4CAF50;
color: white;

Hope this helps you.

Apps4Rent | O365CloudExperts | CloudDesktopOnline