HTML for KMail [Re: khtml and table widths]
Martijn Klingens
klingens at kde.org
Thu Jul 18 15:20:23 BST 2002
On Thursday 18 July 2002 15:52, Vadim Plessky wrote:
> That's simply not true.
> Rendering is faster when you don't use tables. And even more faster in my
> latest XML code (see another mail). KHTML doesn't need to apply all
> attributes on XML, all necessary attributes are defined in inline
> stylesheet.
But what use is faster rendering if your matrix doesn't look like
From: Me
To: You
Subject: Something
But like
From: Me
To: You
Subject: Something
?
Not using CSS at all is even faster, because it saves parsing time. But is it
better???
> No.
> Pls check Web Accessibility Initiative
> http://www.w3.org/WAI/
> to undertsand better why tables should not be used (for visual layout)
A quick look at http://www.w3.org/WAI/GL/WCAG20/ seems to imply they actually
promote the use of tables for storing data. A data table has headers and
such, clearly the way KMail uses it.
What they don't want, is using tables for layout, like arranging images and
such. But here it's the structure that makes it a table, not the layout and
hence the table is the right choice.
> good point in my cod ethat you can define
>
> left { display: none}
> and *get more space on screen*,
> *without* any re-formatting of the mail.
> It can make mail more readable, etc., especially on small screen, or for
> people with cognitive disabilities.
Sure. Set td.left { display: none } to get the same result with tables.
--
Martijn
More information about the kfm-devel
mailing list