how to make 2 horizontal lines in nav bar
-
Cannot generate 2 lines in nav bar, get overflow ito 2nd line but not able to directly control input.
ref: https://health-maintenance.stargate.co.nz/index.htmldetail from css :
#mainmenu {
font-size: .8em;
font-weight: bold;
list-style-type:none;
display: inline;
margin-left: .1em;
margin-right: .1em;
width: auto;
}
#mainmenu li {
display: inline;
margin-right: .1em;
}
#mainmenu ul {
list-style-type: none;
display: inline;
}
#mainmenu a {
padding: .25em .5em .25em .5em;
text-decoration: none;
color: #F1E9E3;
}
#mainmenu a:hover {
text-decoration: underline;
}The explanation at https://www.w3schools.com/css/css_navbar.asp does not make the detail I need for two lines.
Assistance would be greatly appreciated, thank you.
- The topic ‘how to make 2 horizontal lines in nav bar’ is closed to new replies.