Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to indent a line after

From: David Dorward <dorward@-----.--->
To: NULL
Date: 4/2/2006 9:00:00 AM

tintagel wrote:

> The approach I'm currently pursuing is to put an emtpy node called <br
> /> in the .xml source where I need a line break, and then use .xsl and
> .css stylesheets to instuct the browser to interpret this as "do a line
> break, but indent the first character of the next line".

Browsers are really geared up for indentation of blocks (and the first line
of blocks), not lines. From your description of your content, it sounds
like you should be organising your content into multiple logical blocks
(e.g. paragraphs), and not a single logical block with line breaks in it.

Then you can just use the text-indent property to acheive the effect you
want.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent