[pmwiki-users] line spacing patch

Joachim Durchholz jo at durchholz.org
Sat Apr 2 10:58:31 CST 2005


Patrick R. Michaud wrote:
> On Sat, Apr 02, 2005 at 10:07:20AM +0200, Joachim Durchholz wrote:
> 
>> It may even be that the %block markup has the class applied to the
>> <p> tag. In that case it's simply
>> 
>>   p.somestyle ul li { ... }
>> 
>> (just take a look at the HTML generated by PmWiki).
> 
> Yes, %block% gets applied to any common block, including paragraphs 
> and lists.  However, I do think it's important to point out that the
> CSS selector given here isn't possible on a legal HTML document, 
> because paragraphs ("p.somestyle") aren't allowed to contain other
> blocks. As a result, PmWiki never generates a list inside of a
> paragraph (or if it does, point me to an example so I can fix it :-).
> 
So much for answering without really looking at PmWiki's output ;-))

<ul> isn't allowed in <p>? Good to know; no program ever complained to
me about that.
There's always something left to learn...

Regards,
Jo



More information about the pmwiki-users mailing list