+ 2

Does anyone knows how to display the links in one line,i have used display:inline but its not working.

1st Mar 2017, 5:22 PM
Sharique Abraar
Sharique Abraar - avatar
3 Réponses
+ 4
Without context we can provide only solutions probably low-relevant for your code case ^^
2nd Mar 2017, 8:51 AM
visph
visph - avatar
+ 2
<ul id="nav"> <li>link</li> <li>link2</li> </ul> #nav { list-style-type: none; } #nav li { display: inline-block; }
1st Mar 2017, 5:31 PM
Patrik Sokol
Patrik Sokol - avatar
1st Mar 2017, 9:57 PM
Elias Papachristos
Elias Papachristos - avatar