The spacing between list items?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
76 views
iempire.ru/untitled.html


Why do I get the padding between inline elements? How to remove them?


margin: 0, display:inline-block does not help in any way.


It is undesirable to use a float...
by | 76 views

5 Answers

0 like 0 dislike
If you want to preserve code readability, you can set the ul at font-size:0 (and maybe something else from the same category) and restore it to li.
by
0 like 0 dislike
Don't give spaces between the [/li][li]
by
0 like 0 dislike
On average, the gap is 12-13 size 4 pixels, and I usually do margin-right: -4пкс. Also always helpful.
by
0 like 0 dislike
the first elementsecond
by
0 like 0 dislike
Instead of:
\rText Something 1\rSomething text 2\r

Do:
\rText Something 1 Something text 2 


So remove the indentation and avoid "crutches".
by

Related questions

0 like 0 dislike
1 answer
asked Apr 9, 2019 by serj2000
0 like 0 dislike
2 answers
asked Apr 12, 2019 by webhero
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
28,049 users