[Kde-pim] user css controlled mail appereance... reload.

Stephen Kelly steveire at gmail.com
Tue Dec 23 23:08:36 GMT 2008


Thomas Lübking wrote:
> b) while the page include should be no problem at all (leaving alone i18n,
> a placeolder for the page number "$page" should be fully suffcient) doing
> "freaky" things like dynamically spreading content around multiple columns
> will require some dynamics. (the look of the list itself and artificial
> content ads can be widely adjusted using css (:before, :after, maybe using
> attributes))
> 
> as for using multiple toc columns:
> one could make <li> inline-block and assign a width (%), but this leads to
> a
> "multirow" list  (bullets can still be faked in)
> Page 1                        Page2                   Page3
> Page4                 Page5                   Page6
> 
> (i did never understand why a multicol attribute never made it into
> html...)

I see. I would still prefer to leave the html and the css composing up to
whoever has the talent to make content look good. I might be able to find a
way to do that somehow still, but I can't look into it right now.

I would say though, that most freaky css won't work with QTextBrowser. I
think kmail and knode both use that, although I think kmail can optionally
use khtml. I might be wrong on that.

The css attributes supported by QTextBrowser are here:
http://doc.trolltech.com/4.4/richtext-html-subset.html

It supports CSS2.1 selectors, but not pseudo selectors like :before etc.
Just something else that might have to be considered.

> 
> 
> finally a stupid question:
> as it seems reasonable to allow e.g. collapsing the index, would js be an
> option? (in general i don't like clientside scripting, but here it would
> be really required for a local style and pull or personal content, it
> should be ok)

Again, QTextBrowser doesn't support javascript. Applications wanting that
would have to either use khtml/webkit or use signals/slots to animate
collapsing when the collapse link is clicked.

regards,

Steve.

> 
> regards,
> Thomas
> _______________________________________________
> KDE PIM mailing list kde-pim at kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/


_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list