W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2012

Re: CSS display: table

From: Chris Beall <chris_beall@prodigy.net>
Date: Wed, 15 Feb 2012 14:49:41 -0800 (PST)
Message-ID: <1329346181.36642.YahooMailClassic@web83804.mail.sp1.yahoo.com>
To: "www-amaya@w3.org" <www-amaya@w3.org>, Jean-LucMeunier <Jean-Luc.Meunier@xrce.xerox.com>

Because Amaya is less-than-perfect as a rendering engine.  If you look at your example with FireFox, Safari, Chrome, or Opera, it appears as two columns below a caption that spans both columns, as you would expect.

In view of the fact that you must go to a lot of work to add a set of classes to do this, plus assign those classes carefully to each and every <div> in the tree, why would you not instead just use the appropriate <table>-family tags instead of <div>s?  I sense a gap in my education; perhaps you can fill it.

Chris Beall

--- On Tue, 2/14/12, Meunier, Jean-Luc <Jean-Luc.Meunier@xrce.xerox.com> wrote:

From: Meunier, Jean-Luc <Jean-Luc.Meunier@xrce.xerox.com>
Subject: CSS display: table
To: "www-amaya@w3.org" <www-amaya@w3.org>
Date: Tuesday, February 14, 2012, 10:45 AM

Hi,  I was interested in using Amaya with the CSS capability of laying out an XML tree in a tabular way, using the display: table stuff.  See for instance at http://linuxandfriends.com/2009/04/04/how-to-style-div-elements-as-tables/  But Amaya displays the cells in two rows rather than in two columns, for the attached example.  Do you know why and if I can do something to fix this?  Thanks  JL Meunier    
Received on Wednesday, 15 February 2012 22:50:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:43 UTC