[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Mixed content, separation


Subject: Re: [xsl] Mixed content, separation
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Feb 2012 09:39:42 +0000

On 29/02/2012 09:17, davep@xxxxxxxxxxxxx wrote:
Seemed uncessarily complex, b

If you are just doing the complication because you want to generate valid xhtml, a simpler solution (that I've switched to mostly) is just use div instead of p. div is essentially p-with-fixed-content-model-and-a-bit-less-default-css so in particular it allows nested lists, but if you want a blank line above paragraphs, then you need to give it some top margin with css.


David


-- google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________



Current Thread
Keywords