Hi All,
This is my background How-To (Keeper).
Many thanks to everyone who helped me on this especially
Jörg and Dillinger.
This was originally written in ODT format, so I hope to
copy well here
-T
Thunderbird/Betterbird (Th/BB): Background Images and Styles
Reference(s):
https://github.com/jobisoft/HtmlSourceEditor
https://www.w3schools.com/cssref/pr_background-repeat.php
Some Useful Styles:
background-color: #cccccc; /* Used if the image is unavailable */
height: 500px; /* You must set a specified height */
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
Note(s):
If you add more than one style, Th/BB may not render all of
them in the compose window. However, the recipient may still
see them when the message is sent.
Background images and styles require HTML composition. If your
default compose format is Plain Text, open a new message in
HTML by holding down the Shift key while clicking
"New Message".
How to Add a Background Image:
1) Start Th/BB and click on "New Message".
In the message body (even if it is blank):
→ Click on "Format" (in the top menu).
→ Select "Page Colors and Background..."
2) → Click on "Choose File..." and select your background image.
Select "Advanced Edit".
3) → Select the "Inline Style" tab at the top.
→ At the bottom, enter the background property and its value.
For example:
Property: background-repeat
Value: no-repeat
Click "OK".
→ Repeat the above steps for each additional style you want
to add.
4) Back in the main "Page Colors and Background" window, click
"OK" to apply your settings.
Note(s):
If you decide to add or change anything later, "Page
Colors and Background" should remember your previous settings.
How to View the HTML Source:
If you are interested in seeing the HTML code you created,
you can use the HtmlSourceEditor extension.
Alternatively, email the message to yourself and open it
from your Inbox or Sent folder. Then select:
View → Message Source
This will let you examine the underlying HTML code.
Additional Considerations:
background-size:
cover may crop portions of the image to fill the available
area. It does not necessarily display the entire image.
height:
500px sets the height of the element to which the style
is applied. It does not necessarily set the height of
the entire message.
Background images are not supported consistently by all email
clients. What you see in Th/BB may not be exactly what the
recipient sees.
Tip: Background Images
- From
- T <…@invalid.invalid>
- Organization
- A noiseless patient Spider
- Message-ID
- <11e8…@dont-email.me>
- Date
- Newsgroups
- alt.comp.software.thunderbird