HTML for KMail [Re: khtml and table widths]

Vadim Plessky lucy-ples at mtu-net.ru
Thu Jul 18 15:29:04 BST 2002


On Thursday 18 July 2002 5:35 pm, Martijn Klingens wrote:
|  On Thursday 18 July 2002 15:29, Vadim Plessky wrote:
|  > It seems my HTML example hasn't impressed you.
|  > ok, please take XML than!
|  > Ladislav: thanks for original KMail's HTML/CSS, I used some of those
|  > definitions in example below.
|  >
|  > [ ... ]
|  >
|  >  left { display: block; width: 4em; float: left;
|
|                           ^^^^^^^^^^^^^
|  This one won't impress me either as a replacement for a table, because
| again it cannot possibly guarantee that all elements are properly
| positioned in a 2x3 grid. Depending on translations that might break the
| layout horribly...

ok, you have got me :-)
...
 left { display: block;  float: left; padding-right: 0.5em;
  font-weight: bold }

|
|  Of all people you should be the one to think about i18n issues most, given
|  your troubles with cyrillic :-)

Thanks to Qt3, there are no troubles.
But GNOME & Evolution really sucks here!

BTW: I doubt KMail, with its original code, will work with Japaneese text at 
all. When you need *vertical* direction (not horizintal, either RTL or LTR), 
you can't use tables at all!
I am not sure about Chineese, though.

P.S.  There is another way to do what you want, it's CSS2 generated-content.
But, unfortunately, KHTML doesn't support it yet!
See my bug report about this:

#33595: CSS2: { content: } and { counter-increment }
http://bugs.kde.org/db/33/33595.html
(279 days old...)
Also *nice to have*:
http://bugs.kde.org/db/33/33596.html
http://bugs.kde.org/db/33/33593.html
http://bugs.kde.org/db/33/33592.html
http://bugs.kde.org/db/33/33591.html

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KMail-fancy-headers-2.xml
Type: text/xml
Size: 1198 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020718/88a60345/attachment.xml>


More information about the kfm-devel mailing list