I have ul
list with li
sorted by name. How I can display these elements vertically?
I mean structure:
1 5
2 6
3 7
4 8
Now It works as:
1 2 3 4
5 6 7 8
This issue is not actual and may be deleted
I have ul
list with li
sorted by name. How I can display these elements vertically?
I mean structure:
1 5
2 6
3 7
4 8
Now It works as:
1 2 3 4
5 6 7 8
This issue is not actual and may be deleted
It should be in HTML-CSS.
<li>
should have a css style of diplay: inline;
or float: left;
or float: right;
to display it beside each other.<ul>
tag should have css style of display: block;
so that each <ul>
is displayed line by line.