This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Troubles on HTML signature.

Tags: None
(comma "," separated)
luisfernando
Registered Member
Posts
2
Karma
0

Troubles on HTML signature.

Tue Jan 26, 2016 6:35 pm
Hello All,

I'm having some problems with HTML signature in KMail. The TD's tags are not obeying the width attribute or the css style applied directly to the cell. Is someone else finding the same difficulty? Someone would have some URL with attributes supported by the signature of HTML on KMail?

Sometimes on KMail, my signature appears ok. When I send a message to anyone using MS-Outlook, the text on signature does not use the correct font that I used that is presented on most Windows installation.

Here is my signature:
<table style="width: 560px;" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 280px; color: rgb(0, 116,155); font-size: 11px !important; font-family: 'Arial Narrow' !important;">
LUIS FERNANDO<br />
<strong>Desenvolvimento</strong><br/><br/>
mymail@mydomain.com<br/>
Tel +99 99 9999 9999<br/>
Tel +99 99 9998 9999
</td>
<td style="width:280px;">
<img src="/home/myuser/Imagens/assinatura-normal.png" />
</td>
</tr>
</table>
Best regards,

Luis Fernando.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Troubles on HTML signature.

Tue Jan 26, 2016 7:52 pm
What version of KMail are you using?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
luisfernando
Registered Member
Posts
2
Karma
0

Re: Troubles on HTML signature.

Wed Jan 27, 2016 10:23 am
I'm using KMail version 5.0.2.

Best regards,

Luis Fernando.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Troubles on HTML signature.

Thu Jan 28, 2016 1:17 pm
I asked around to see if this is a limitation of the HTML subset used by KMail, or something else. I'll report back if I find anything.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
rigow
Registered Member
Posts
1
Karma
0

Re: Troubles on HTML signature.

Thu Jan 28, 2016 1:54 pm
If you run into trouble with your signature, I think it is partly due to a bad html coding. As you can see, your signature is not a full html document, but lives in a context. Forcing a fixed width of 506px and divide it into 2x 280px does not take account of the margins. CSS rendering engines in the webkit engine that displays your signature are smart. They degrade your impossible instructions into something that works.
And on the rendering of fonts on other people's computers, you are dependent on THEIR setup, not on yours in kmail2. You may use WOFF, but I doubt you want to embed a full font set with every signature you send around.
BTW, for me, your signature wouldn't display anything as I only use text-email to avoid phishing


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]