Bug 20419 - kmail should support custom css for the mail display window
Summary: kmail should support custom css for the mail display window
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: unspecified Other
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-13 23:48 UTC by Unknown
Modified: 2009-12-13 00:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Mutz 2001-02-13 23:22:38 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kmail
Version: 1.2 (KDE 2.1 Beta 2)
Severity: wishlist

If I'm not mistaken kmail uses khtml even for displaying normal mails.
It would be cool if one could provide a css file that tells khtml how to
display the message body. The HTML given to khtml would look something
like

<html>
<head>...</head>
<body>
<table class=headers>
<tr class=subject><td class=subject-name>Subject:</td>
<td class=subject-value>Blah</td></tr>
<tr class=received><td class=received-name>Received:</td>
<td class=received-value>from ... by ...</td></tr>
....
</table>
<p class=message-body>...</p>

<p class=attachment>...</p>
</body></html>

And one could specify e.g.

td.subject-name { alignment:left; }
tr.received { display:none; }
p.attachment { border:... }

and whatnot. I think all of the appearance config stuff of kmail could
be mapped internally to css and you could give the user the choice of
using the kmail-generated css or to write one himself.

Most powerful would be the ability to specify different settings for
media==print once khtml/qt honour that.

Marc

-- 
Marc Mutz <Marc@Mutz.com>     http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA) 0x7ae55b9e (DSS/DH)
Comment 1 Stephan Kulow 2004-05-17 21:17:16 UTC
Replaced marc@mutz.com with null@kde.org due to bounces by reporter
Comment 2 Jonas Vejlin 2009-07-31 08:06:28 UTC
is this still valid?
Comment 3 Björn Ruberg 2009-12-13 00:47:03 UTC
Think not. Konqueror allows to adapt fonts and fonts sizes - so the most important features this would add is already there. I close this and see what happens :)