[pmwiki-users] question about headings

Mike Shanley up at upisup.com
Wed Aug 22 09:59:18 CDT 2007


Shi Sherebrin wrote:
>
> ...
>
> actually I'm looking for a more general solution, so that whichever 
> heading comes first (at least in #wikitext), i.e. at the top of the 
> 'content page', will be treated differently.  Everywhere else I want a 
> non-zero top margin to separate the heading from preceding content, but 
> at the top of the page that just results in an unsightly gap.
>
> thanks,
> Shi.
>   
You could always just do this:

p {margin-bottom:1em;}
h1, h2, h3, h4, h5, h6 {margin:0 0 1em 0;}

PmWiki encloses nearly everything but heading in a <p>, so this will 
make things look like you want. Why fight it?



More information about the pmwiki-users mailing list