W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Too much cleanup

From: Dave Raggett <dsr@w3.org>
Date: Tue, 28 Mar 2000 18:57:21 +0100 (GMT Daylight Time)
To: Mike Bridge <bridge@gsnet.com>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10003281855360.-462379@hazel.hpl.hp.com>
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 GMT

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