[personal profile] haptalaon posting in [community profile] style_system

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;
}

Date: 2023-03-12 04:29 pm (UTC)
momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
From: [personal profile] momijizukamori
There is actually an easier way to do this! You can set the post creator to not add autoformatting - on the beta create page, it's the 'Raw HTML' format option, and on the old create page, it's the 'Disable Auto-Formatting' checkbox.

Date: 2023-03-12 08:42 pm (UTC)
sporky_rat: (Didn't you see that coming?)
From: [personal profile] sporky_rat

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

Date: 2023-03-13 07:03 pm (UTC)
feast_of_regrets: (Lovin' It Powerpuff)
From: [personal profile] feast_of_regrets
Thank you so much!!!

Profile

Dreamwidth style system discussion

January 2026

S M T W T F S
    123
45678910
11121314151617
18192021222324
25 26 2728293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 1st, 2026 05:13 pm
Powered by Dreamwidth Studios