how to display menu list in a line in css code example
Example 1: html list inline
#menu ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-flex
}
Example 2: li elements horizontally css
display: inline;
#menu ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-flex
}
display: inline;