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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

910 views 23 12
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