RE: Fw: Disturbing trend in tables

Actually FP will never generate this code (unless there's a bug we haven't
found). If the author has hand-coded it this way, we'll leave it alone, but
there's no way I know of to get FP to generate a <font> as anything but an
inline element.

-----Original Message-----
From: David Woolley [mailto:david@djwhome.demon.co.uk] 
Sent: Wednesday, January 10, 2001 3:45 PM
To: w3c-wai-ig@w3.org
Subject: Re: Fw: Disturbing trend in tables

>       <td WIDTH="65" HEIGHT="17"><font FACE="Arial" COLOR="#000000">
>         <p ALIGN="RIGHT">GS-1</font></td>

This is illegal.  font elements require an explicit close tag and
are considered inline elements.  p is a block element.  Therefore
the parser is forced into error recovery when it sees the p without
the font having been closed.

To the person from Microsoft, this is one of the typical errors
produced by GUI authoring tools.

Received on Thursday, 11 January 2001 22:49:13 UTC