[kdepim-users] Problem displaying html mail formatted through css

Ingo Klöcker kloecker at kde.org
Wed Apr 22 21:49:47 BST 2009


On Wednesday 22 April 2009, Gabriele Brosulo wrote:
> Hi all,
> I have some problem displaying css formatted html emails. Attacched
> one of them (just a test). Problems:
>
> 1) text is centred, while css says that it has to be left-sided

I don't see any CSS saying "text-align: left;". Moreover, the only text 
I see is inside an HTML table inside a <td> with align="center". So 
showing the text centered appears to be what is wanted.

==========
            <td valign="top" bgcolor="#ffffff" align="center" 
height="350">
            <table width="780" cellspacing="0" cellpadding="8" 
border="0">
                <tbody>
                    <tr>
                        <td>ciao cia0o ciao cia0o ciao cia0o ciao cia0o 
ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao 
cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o 
ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao cia0o ciao 
cia0o</td>
                    </tr>
                </tbody>
            </table>
            </td>
==========


> 2) text color isn't correct

KMail sets the color of the body text to black (or to whatever color you 
have defined in KMail/KDE as text color). When showing HTML messages 
then we should probably not force our text color on the HTML message. 
You might want to submit a bug for this.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20090422/201862ed/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list