HTML for KMail [Re: khtml and table widths]

Martijn Klingens klingens at kde.org
Thu Jul 18 14:23:32 BST 2002


On Thursday 18 July 2002 15:03, Vadim Plessky wrote:
> |  Um, "em" is not fixed. "pt" and "px" are, but em is relative to the
> |  user/client specified font size.

It is fixed in that it doesn't take into account the width of the text, only 
of the font. Is 4em wide enough to fit 'abcdefghijkl'? Or does it only fit 
'abc'? Do you want to hardcode 10em to cover languages where 'from' needs 
more characters? Or take the risk that 3em is enough for all languages?

Em is a fix width, because it doesn't take the text flow and width into 
account. KDE has powerful layouting thanks to Qt, why not extend that onto 
the web as well?

I do agree that it's better than pt/px, because at least it respects font 
sizes, but it's still not enough here.

-- 
Martijn





More information about the kfm-devel mailing list