Re: Too much cleanup

On Fri, 24 Mar 2000, Mike Bridge wrote:

> 
> We are looking at creating an XHTML version of our HTML and I
> was trying out html-tidy.  It looks very cool, but the one
> problem I see is that I can't find a way to limit the layout
> formatting of the resulting page.  Specifically, I would like it
> not to touch the indenting/linebreaking scheme that's already
> there.  Our web designer informs me that this will create subtle
> browser-specific formatting problems, for example, closing and
> opening TR and TD tags must be on the same line when they
> enclose adjoining images, otherwise browsers will put some extra
> space between the cells,

You can avoid these problems by setting the indent option to no
or auto. In the latter mode Tidy is careful to avoid breaking the
line before the </td> if the content is purely inline.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Tuesday, 28 March 2000 12:57:31 UTC