+ 2
Does anyone knows how to display the links in one line,i have used display:inline but its not working.
3 Respostas
+ 4
Without context we can provide only solutions probably low-relevant for your code case ^^
+ 2
<ul id="nav">
<li>link</li>
<li>link2</li>
</ul>
#nav {
list-style-type: none;
}
#nav li {
display: inline-block;
}
+ 1
You can check it at https://www.w3schools.com/css/default.asp