posfan12 posfan12 - 3 months ago 11
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.

Thanks.

Pat Pat
Answer

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

br{
  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 { ... }