W3C home > Mailing lists > Public > www-style@w3.org > September 2004

RV: Table property for Mobile devices

From: Nestor Boscan <nestor.boscan@tcs.com.ve>
Date: Mon, 20 Sep 2004 01:46:56 -0400
Message-Id: <200409200545.i8K5j67h010726@rs25s9.datacenter.cha.cantv.net>
To: <www-style@w3.org>

Hi Justin

At my company we use XSL to do this kinds of transformations. But you need
to use XSL + Xpath to do this transformations. I think it's much easier to
have a CSS property that renders the table differently. You can also use
medias to show the table in many ways depending on the device. There are
many scrolling mechanisms in WAP and PDA devices but scrolling makes it
difficult to read the page. 

Néstor Boscán

-----Mensaje original-----
De: Justin Wood (Callek) [mailto:116057@bacon.qcc.mass.edu]
Enviado el: Monday, September 20, 2004 1:36 AM
Para: Nestor Boscan; W3C Style List
Asunto: Re: Table property for Mobile devices

Nestor Boscan wrote:

>Hi
> 
>I've been working with several mobile technologies: WML, XHTML, PDAs, etc.
>One of the problems that comes up when creating content for this 
>devices is that tables in XHTML are too big for PDA and Cell phone 
>screens. Tables that have many columns have to be replaced so they can 
>be viewed properly in the screen.
> 
>An example is a better way to show this:
> 
>Example 1:
> 
>+--------+--------+--------+
>|Header 1|Header 2|Header 3|
>+--------+--------+--------+
>|Value  1|Value  1|Value  1|
>+--------+--------+--------+
>|Value  2|Value  2|Value  2|
>+--------+--------+--------+
>|Value  3|Value  3|Value  3|
>+--------+--------+--------+
>
>Is replaced with:
>
>+--------+
>|Header 1|
>+--------+
>|Value  1|
>+--------+
>|Value  2|
>+--------+
>|Value  3|
>+--------+
>
>+--------+
>|Header 2|
>+--------+
>|Value  1|
>+--------+
>|Value  2|
>+--------+
>|Value  3|
>+--------+
>
>+--------+
>|Header 3|
>+--------+
>|Value  1|
>+--------+
>|Value  2|
>+--------+
>|Value  3|
>+--------+
>
>Example 2:
>
>+--------+--------+--------+--------+
>|Header 1|Value  1|Value  1|Value  1|
>+--------+--------+--------+--------+
>|Header 2|Value  2|Value  2|Value  2|
>+--------+--------+--------+--------+
>|Header 3|Value  3|Value  3|Value  3|
>+--------+--------+--------+--------+
>
>Is replaced with:
>
>+--------+
>|Header 1|
>+--------+
>|Value  1|
>+--------+
>|Value  1|
>+--------+
>|Value  1|
>+--------+
>
>+--------+
>|Header 2|
>+--------+
>|Value  2|
>+--------+
>|Value  2|
>+--------+
>|Value  2|
>+--------+
>
>+--------+
>|Header 3|
>+--------+
>|Value  3|
>+--------+
>|Value  3|
>+--------+
>|Value  3|
>+--------+
>
>So it would be nice to have a CSS property that can do this kind of 
>transformations.
>
>Regards,
>
>Néstor Boscán 	
>
>
>
>  
>
"Transformation" is not for CSS, its XSL-T.

I would argue that the PDA/Cell-phone renderer should provide a "scrolling"
mechanic for the table, but that is me, and may not be feasable. (I have
never used or worked on a PDA/Cell-phone browser)

~Justin Wood (Callek on moznet irc)
Received on Monday, 20 September 2004 05:45:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT