haptalaon: A calming cup of tea beside an open book (Default)
Haptalaon ([personal profile] haptalaon) wrote in [community profile] style_system2023-03-12 11:26 am
Entry tags:

Remove automatic BR tags

UPDATE: better way of doing this in the comments!



Hello all!



I do pretty things to my paragraphs, so I hand-code up my HTML in the editor rather than using rich text, putting P tags round my paragraphs. However, DW will still automatically add BR tags between them - making the gaps between my paragraphs HUGE and unsightly



The fix for this sets the height of BR as nothing - making the reading experience far more sightly. Put it in your Customise CSS section.



.entry-content br {
   display: block;
   margin: 0 0;
}
sporky_rat: (Didn't you see that coming?)

[personal profile] sporky_rat 2023-03-12 08:42 pm (UTC)(link)

Momiji knows that of which she speaks - the semiofficial DW Dev Styles Guru here.