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

Too much cleanup

From: Mike Bridge <bridge@gsnet.com>
Date: Fri, 24 Mar 2000 11:45:58 -0600
To: html-tidy@w3.org
Message-ID: <OF7B55D879.4B53F488-ON86256889.00025B22@rfdinc.com>

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,
e.g.

<table some options...>
   <tr><td><img src="whatever.jpg"></td><td><img src="somethign
else"></td>   </tr>
</table>

instead of

<table some options...>
  <tr>
    <td>
       <img src="whatever.jpg">
    </td>
    <td>
       <img src="somethign else"></td>  <tr>
  ...
  </tr>
</table>


Is there any way to do this in html-tidy, or is it possible
to add an option to do this?

Thanks!

-Mike

--
Mike Bridge <bridge@gsnet.com>
System Administrator
Global Sourcing Network
Received on Friday, 24 March 2000 12:47:35 GMT

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