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.


-- 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC