You should be careful with this. Because this: <body bgcolor="red"> <table> <tr> <td><img src="http://struts.apache.org/images/asf_logo_wide.gif"><img src="http://struts.apache.org/images/asf_logo_wide.gif"></td> </tr> </table> </body>
does not render the same as this: <body bgcolor="red"> <table> <tr> <td> <img src="http://struts.apache.org/images/asf_logo_wide.gif"> <img src="http://struts.apache.org/images/asf_logo_wide.gif"> </td> </tr> </table> </body> Other than a few whitespace characters, they are identical, but they will not look the same on most browsers. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx ----- Original Message ----- From: "Dave Bender" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Craig McClanahan" <[EMAIL PROTECTED]> Sent: Monday, September 20, 2004 10:33 AM Subject: RE: JTidy integration? > Thanks for the reply and the expertise. To answer questions you raised: > > >> I'm having a hard time understanding why anyone would want to spend > >> the extra server side processing cycles for doing this. > > The reasons would be: > 1) to make debugging HTML display problems easier to track down. > 2) to verify that we have compliant HTML; > 3) to strip white space, though as you note there are other ways to skin > that cat. > 4) to satisfy those of us who are anal retentive. > > > >> It won't have any affect on the semantics of the HTML page, > > That's not necessarily true. As noted, one purpose would be to verify that > we're spewing correct HTML. If we miss a table tag or something, the HTML > prettifier will correct it, changing the semantics. > > >> won't even be visible to a browser user unless they use the "View Source" > option. > > True, but if a user can see it, I want it to look professional. It's like > when you buy a new car, they make sure the engine looks clean under the > hood. Not every buyer will look, but those who do get an impression. Might > as well be good. > > > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]