At 09:55 AM 2/10/03 +0000, Chris Davies wrote:
On Fri, 7 Feb 2003, Drew Taylor wrote:
> Is there a way to trim the extra whitespace\newlines from the final
> output?

Sam Tregar wrote:
> HTML::Clean works for some people.  In general I don't let it bother
> me. It's just a few extra bytes and the browser certainly doesn't
> care.

The browser does care (under certain circumstances):
        <img src="..."><img src="...">

Is different to
        <img src="...">  <img src="...">

at least on the browsers I've tested. (This has bitten me in the past.)
Very true. I've found this can also make a difference with table cells. Extra padding/spacing is added at times:
<td>
whatever
</td>
vs
<td>whatever</td>

Drew

--
Drew Taylor | Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------------
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
----------------------------------------------------------------------



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to