amaya-7.2

Hello,

I have just compiled amaya-7.2 .

I have added a simple blue table here:
--------------------------------------
<html>
<head><title>a table test</title></head>
<body>

<table align=left bgcolor=blue width=200 border=1 cellspacing=10 cellpadding=0>
<tr>
<td bgcolor=yellow rowspan=2 height=300>
what now?
</td>
<td bgcolor="light green" colspan=2>
top
</td>
</tr>


<tr>
<td bgcolor=pink colspan=2>
bot
</td>
</tr>

</table>

</body>
</html>
-----------------------------------


Now I would like to point to the following document:

HTML 4.01 Specification

11.3 Table formatting by visual user agents
  11.3.2 Horizontal and vertical alignment

   valign = top|middle|bottom|baseline [CI]
          This attribute specifies the vertical position of data within a
          cell. Possible values:

          + top: Cell data is flush with the top of the cell.
          + middle: Cell data is centered vertically within the cell.
            This is the default value.
          + bottom: Cell data is flush with the bottom of the cell.
          + baseline: All cells in the same row as a cell whose valign ...

Now I would like to ask:

   Why does Amaya use 'valign=top' as the default value?
   Why does Amaya double the cellspacing at the top of the table?

winfried

Received on Thursday, 24 April 2003 04:12:49 UTC