Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - How to indent a line after [Thread Next] Re: How to indent a line after 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
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
