You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark H <ma...@markhorgan.com> on 2003/02/11 20:49:04 UTC

Carriage returns in HTML serialization

I'm having problems with HTML serialization: it's putting tags on a new line
which is making a DIV section higher than it should be i.e.

<div style="..."><div align="right">...</div></div>

turns into:

<div style="...">
<div align="right">
...
</div>
</div>

Is there anyway to control the HTML output?

BTW I'm very impressed with Cocoon. XML really is the way to go with content
heavy websites.

Mark



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Carriage returns in HTML serialization

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Mark H dijo:
> I'm having problems with HTML serialization: it's putting tags on a new
> line which is making a DIV section higher than it should be i.e.

This is a browser issue, not a Cocoon issue. I recently buyed a nice book
of HTML because I getted this kind if "UFO" errors. ;-)

Source:HTML for the World Wide Web with XHTML and CSS: Visual QuickStart
Guide, Fifth Edition from Elizabeth Castro.
http://www.amazon.com/exec/obidos/ASIN/0321130073/

Best Regards,

Antonio Gallardo

>
> <div style="..."><div align="right">...</div></div>
>
> turns into:
>
> <div style="...">
> <div align="right">
> ...
> </div>
> </div>
>
> Is there anyway to control the HTML output?
>
> BTW I'm very impressed with Cocoon. XML really is the way to go with
> content heavy websites.
>
> Mark




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>