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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,044 views 53 8
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