# How to decrease line interval?

**URL:** <https://forums.ankiweb.net/t/how-to-decrease-line-interval/438>\
**Category:** Card Design\
**Created:** [June 24, 2020, 5:34am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438 "2020-06-24T05:34:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taskete](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Taskete](https://forums.ankiweb.net/u/Taskete)\
**Post date:** [June 24, 2020, 5:34am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/1 "2020-06-24T05:34:27Z")

</div>

line-height: 0.7;

It works for me only for increasing (150%, 1.5) but nothing for decreasing.

---

<div class="post-metadata">

**Author:** ![mmdj2](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/mmdj2/32/124_2.png) [@mmdj2](https://forums.ankiweb.net/u/mmdj2)\
**Post date:** [June 24, 2020, 6:22am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/2 "2020-06-24T06:22:43Z")

</div>

you can use something like 50% to decrease it. it decreases the height.

if it’s not what you want, can you explain what is it exactly you want? how do you want the lines to look?  
how and where do you use “line-height: 0.7;”? where do you want to decrease the line height?  
what do you use on styling? what do you use on card template?

your post is kinda vague to me tbh and i’m not sure if i understood what you want to do.

---

<div class="post-metadata">

**Author:** ![Taskete](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Taskete](https://forums.ankiweb.net/u/Taskete)\
**Post date:** [June 24, 2020, 1:28pm UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/3 "2020-06-24T13:28:12Z")

</div>

> [@mmdj2](#):
>
> you can use something like 50% to decrease it. it decreases the height.

Did you try? It doesn’t work. On Android only 100+ number works. I can increase but can’t decrease.

---

<div class="post-metadata">

**Author:** ![mmdj2](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/mmdj2/32/124_2.png) [@mmdj2](https://forums.ankiweb.net/u/mmdj2)\
**Post date:** [June 24, 2020, 1:34pm UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/4 "2020-06-24T13:34:11Z")

</div>

front template + preview on anki desktop:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/c7efc1a89256308c14b9c47fd9066a36078d286c.png)

styling:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/e9a92696496a610ca6667f8c3451b6bec0816534.png)

Ankidroid:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/580a62824712c776e19d426ed303d1d2546fae4a.png)

you can try `line-height: 5px;` if % doesn’t work for you.

---

<div class="post-metadata">

**Author:** ![Taskete](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Taskete](https://forums.ankiweb.net/u/Taskete)\
**Post date:** [June 25, 2020, 6:06am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/5 "2020-06-25T06:06:18Z")

</div>

Still doesn’t work. On reddit my post has gotten likes. I think not only me have this issue.

Can you help me to solve this out?

This is styling [https://pastebin.com/HgKwibtC](https://pastebin.com/HgKwibtC)  
This is back template [https://pastebin.com/86XZc0Rg](https://pastebin.com/86XZc0Rg)

My issue with “additional” field.

One of the picture is the value below 100% (any, coz nothing changes) or below 1/1px.  
The second screenshot is the value above 100% or 1/1px.

I’m stuck. I don’t understand what’s wrong.

 ![Screenshot_2020-06-25-12-57-16-986_com.ichi2.anki](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/744799cd011b3214655db8ff3ead305a1a515a4b.png)

---

<div class="post-metadata">

**Author:** ![Taskete](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Taskete](https://forums.ankiweb.net/u/Taskete)\
**Post date:** [June 25, 2020, 6:06am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/6 "2020-06-25T06:06:57Z")

</div>

![Screenshot_2020-06-25-12-57-58-653_com.ichi2.anki](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/747e1fba617f5c355e85280b21791c1bbb80ea58.png)

---

<div class="post-metadata">

**Author:** ![Taskete](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Taskete](https://forums.ankiweb.net/u/Taskete)\
**Post date:** [June 25, 2020, 6:10am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/7 "2020-06-25T06:10:28Z")

</div>

I found! The value was span but must be div! Omg. I think it must be first option to check!

---

<div class="post-metadata">

**Author:** ![guillempalausalva](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/guillempalausalva/32/34258_2.png) [@guillempalausalva](https://forums.ankiweb.net/u/guillempalausalva)\
**Post date:** [June 25, 2020, 9:45am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/8 "2020-06-25T09:45:59Z")

</div>

> [@Taskete](#):
>
> Still doesn’t work. On reddit my post has gotten likes. I think not only me have this issue.

Hi, for future occasions I’d suggest to cross-link reddit post and this forum post in case you did not do it yet the other way out. You can potentially waste a volunteer’s time once the issue is solved in one end and he or she is unaware of this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 7:44am UTC](https://forums.ankiweb.net/t/how-to-decrease-line-interval/438/9 "2023-05-01T07:44:54Z")

</div>

Closed on May 1, 2023, 7:44am UTC


