Table rendering in amaya-9.3

I just tried amaya-9.3 with tables, on WinXP SP2.  I edit files using vi
under cygwin.  It has some problems with tables, as noted below.

 

My goal is to produce a page layout with a table and CSS styles (using
pure CSS to structure the page layout is too much for me at the moment -
many pages using a table already exist).  I want the left-hand column to
be fixed in width, and the table as a whole to fill the browser window.

 

Amaya behaves differently from browsers in a way that makes it hard to
use:

A. Tables behave differently as far as column widths go;

B. The cell outlines are not shown, unless the table has borders ("0"
values give display with no indication of the existence of tables -
other editors show dotted red lines outlining the cells);

C. The :first-child pseudo-element is not recognized (IE6.0 does not
recognize it either, at least not with my files);

D. Amaya does not seem to recognize em as a unit of length.

 

I attach a test file (Tidied and validated) that I used to compare amaya
with browsers.  The table is a simple 2x2 one.

 

The attached file shows nine attempts at fixing first column width and
first row height.  The element/attributes used are:

1. Inline style for <table, plus <colgroup> and <col width>

2. Inline style for <table, plus <td width=10em in first cell/first row

3. <table class="layout, plus <td class="header"

3a. Inline style for <table, plus <td class="header"

4. Inline style for <table, plus inline style for <td

5. <table class="layout, plus <td id="left_id"

6. <table class="layout, plus <td class="logo"

7. <table class="layout, plus inline style for <td with 4x4px size,
using inserted graphic to force width

8. <table class="layout, plus <td class="left_class header"

9. Using :first-child pseudo-class: table tr:first-child td:first-child
to get to top left cell.

 

In these tests, tables giving the desired fixed width to the left column
are:

Firefox: 1, 2, 4, 5, 7, and 9;

IE6.0: 1, 2, 4, 5, and 7;

Amaya-9.3: 4, 5, and 7 (but does not accommodate graphic vertically in
7).

 

(BTW, the methods that work seem to be those using a style within the
table, rather than a method coming from the style sheet, with one
exception - 'id' - that can only be used once.)

 

Regards,

Ken McFarlane

 

Received on Monday, 19 December 2005 09:26:19 UTC