Margin or padding in <li>?

How it is possible to change the distance between the list items?
Margin or padding is not working. Any ideas? 

Bildschirmfoto 2016-01-21 um 15.58.22.png

2 answers

Just add a CSS macro:

li {
line-height: 200%;
}

You could also put each list in a div macro and have the CSS change the line spacing of each div individually by targeting the class of each div.

.tight {
line-height: 70%;
}
ul li {
	line-height: 50%;
}

That was also my thoughts but it had no effect and I don't want to add <divs> around the list.

That totally worked for me, as did just ul (without the li).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,792 views 26 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you