W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2001

Re: Tidy becomes less forgiving

From: Allan Clark <allanc@caldera.com>
Date: Fri, 14 Sep 2001 11:47:35 -0400
Message-ID: <3BA22697.4B30405A@caldera.com>
To: Fred.Bone@dial.pipex.com
CC: html-tidy@w3.org
Fred Bone wrote:
> On 14 Sep 2001 at 11:13, Allan Clark wrote:
> > Fred Bone wrote:
> > > On 14 Sep 2001 at 10:21, Allan Clark wrote:
> > > > Does this show that the text Tidy is correcting is indeed
> > > > non-compliant?  Not just ambiguous but non-compliant, which requires
> > > > tidy to clean it to be compliant to either 3.2 or 4.0 ?
> > > >
> > > > In past, I've made each row of a table into a form
> > > > (<tr><form...>...</form></tr>) but this is illegal?
> > >
> > > It isn't valid HTML, which is why Tidy tries to correct it.
> > >
> > > > What is the
> > > > alternative, so that I have table rows of data that can be modified by
> > > > replacing the data in the table cells and clicking a "Edit" (submit)
> > > > button on the end ?  I have found this very easy for non-tech users to
> > > > grasp.
> > >
> > > Put the <form> inside a <td>. If you want structure inside the <form>,
> > > use a <table>.
> >
> > Now, if the multiple rows of such a markup have to line up, how is that
> > done?
> 
> You could specify percentage (or fixed) widths, inline or in a
> stylesheet. Or use images to force specific widths.

When the previous lengths of the data is unknown (ie has a wide range)
this is exceedingly cumbersome.  This sounds like a case where
compliance is not economically feasible.  The existing markup causes the
redering engine to consider the data and render the table so that
everything lines up yet occupies the least horizontal space.

Can you actually see itemizing a timesheet for a client and posting "6
hrs: HTML/4.0 compliance for generated table #6 == US$1800 "?

Thanks for your help Fred, but this isn't a victorious day for
compliance and *this* page.  All my others, where possible, will be 4.01
but definitely not this one.  I appreciate your brainstorming for a
solution, though.

Allan


Allan
Received on Friday, 14 September 2001 11:48:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT