Justin Rochell
posted this on September 07, 2011 11:46 am
If you'd like to add more style to your signatures in Postbox, the formatting toolbar provides options to change text size, color, decoration, and indent placement. However, if you would like further control, this can be achieved by editing the underlying HTML and CSS.
Note: Basic knowledge of HTML and CSS is required
To customize the style of a signature, go to the Signature editor and select the signature that you'd like to change. Then, click the "pencil" button under the list to edit it, and select the entire contents of the Signature field. Once everything is highlighted, click on the "</>" button in the toolbar to edit the HTML tags and text.
When customizing the color and text decoration of the signature text, the "!important" declaration is required to follow each property so that they are not ignored. Here is an example styling a link with an assigned color and text-decoration. Note that each property has its own !important declaration.
<a href="postbox-inc.com" style="color:rgb(0, 136, 204) !important; text-decoration:none !important;">
If you are inserting an image into the signature and don't want it included as an attachment, it can be served remotely from a server. To configure this, add the moz-do-not-send="true" attribute to the img element. For example:
<img src="path/for/image.jpg" moz-do-not-send="true">
Postbox includes dashes, or hyphens, above the signature to set it apart from the message body. If you do not want these marks to appear, a hidden preference in the Config Editor must be changed. First, open the Config Editor, and search for pb.signatures.include_dashes in the Filter. Then, once it appears, double-click the row to change the value from True to False. To revert to default, simply change the value back to True.