posfan12 posfan12 - 1 month ago 6x
CSS Question

A little gap after <br/> tag

I have a paragraph with two lines separated by a line break < br/ > tag. How do I insert a small gap between the first line and the second?

I want to do this without adding new markup so I don't have to edit every page on my site.


Pat Pat

You can target the <br/> tag with css and go from there. For example:

  line-height: 1.5em;

Although, this will target ALL br tags. Without knowing your code its hard to get more specific than that, maybe p + br { ... }