Text entry - how to prevent extra spacing with lists

User Help for Mozilla Thunderbird
Post Reply
pokeefe0001
Posts: 103
Joined: January 18th, 2010, 4:25 pm
Location: Pacific Northwest, USA

Text entry - how to prevent extra spacing with lists

Post by pokeefe0001 »

When entering lists (numbered or unnumbered) or indenting, Thunderbird inserts extra space - a blank line - before and after the list or indented text. How do I prevent this?
Patrick O'Keefe
Win11 x64 Pro, FF 113.0.2 TB 102.7.2
User avatar
DanRaisch
Moderator
Posts: 127187
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Text entry - how to prevent extra spacing with lists

Post by DanRaisch »

Moving to Thunderbird Support.
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Text entry - how to prevent extra spacing with lists

Post by morat »

You could edit the HTML source of the message.

ThunderHTMLedit
http://addons.thunderbird.net/thunderbird/addon/702920
mgagnonlv
Posts: 848
Joined: February 12th, 2005, 8:33 pm

Re: Text entry - how to prevent extra spacing with lists

Post by mgagnonlv »

But is it possible – through userChrome.css or any other way, to change all default formatting of messages?
Michel Gagnon
Montréal (Québec, Canada)
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Text entry - how to prevent extra spacing with lists

Post by morat »

@mgagnonlv

You could style the text in the compose window using the userContent.css file, but the recipient won't see the changes.

Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3094515
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Text entry - how to prevent extra spacing with lists

Post by morat »

@pokeefe

I tested a bulleted list in the compose window. The spacing looks normal.

You can use an inline style to change the spacing.

JSFiddle examples
http://jsfiddle.net/42crtmpe/
http://jsfiddle.net/vnosc0e4/

Gmail and other webmail interfaces may strip out the inline style.

The <ul> element has a top and bottom margin of 16px and a padding-left of 40px by default.

Styling lists
http://developer.mozilla.org/docs/Learn ... ling_lists
Post Reply