Guy Guy - 2 months ago 7
CSS Question

line break inside a list item generates space between the lines

I want to break line

<br/>
inside a
<li>

Like:


  • First line

    second line

  • Second li

  • third li



but when doing so (both labels)- I get a space between them.
margin and padding is 0 but still I get it..
any idea how to get rid of it?
Thanks!

Answer

You can alter the line-height property in your css. Does that help ?