[Pmwiki-users] <p> tags

Patrick R. Michaud pmichaud
Thu Feb 19 09:07:44 CST 2004


On Thu, Feb 19, 2004 at 02:34:03PM +0000, Chris Lowis wrote:
> Hello,
> 
> When I use the edit box to add text, the paragraphs that are generated 
> are preceeded by <p></p> tags, rather than surrounding them . Is this a 
> bug or a feature ? 

More of a feature than a bug, although there's a good argument to be
made that it should be the other way.  The problem is that (X)HTML doesn't
allow paragraphs to contain nested block markup such as lists, so it's
hard to properly containerize things.

> Either way, how to I style paragraph text using CSS ? 
> At the moment the styling I am using is being applied to the (empty) 
> paragraphs, and not to the un-tagged text in the HTML generated by pmwiki.

Try using div#wikitext as the selector.

Pm



More information about the pmwiki-users mailing list