0
How to arrange text in same line in CSS
I am making navigation for my website but I cannot arrange text for navigation options in a single line.
3 Answers
+ 4
float: left; or float:right; , but i recommend display: inline-block for nav, for <li> tags :)
+ 3
Check out this sample code
https://code.sololearn.com/W7UY2NaZMr83/?ref=app
+ 1
Try display: inline-block;