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:13:07 -0400
Message-ID: <3BA21E83.ECD3A7D7@caldera.com>
To: Fred.Bone@dial.pipex.com
CC: html-tidy@w3.org
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?

The structure you've suggested has multiple tables inside forms in each
row; the columns of the table on my row #2 won't necessarily line up
with the columns on the table on row #3.

<table>
<tr><form ...> 
<table><tr><td>..</td><td>..</td><td>..</td></tr></table>  </form></tr>
<tr><form ...> 
<table><tr><td>..</td><td>..</td><td>..</td></tr></table>  </form></tr>
<tr><form ...> 
<table><tr><td>..</td><td>..</td><td>..</td></tr></table>  </form></tr>
...
...
</table>

As is obvious from my original response to Charlie, I do support the use
of specs, but the spec does not currently allow me to do what I'm trying
to do here, so perhaps my past work is stuck being non-compliant.

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

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