[pmwiki-users] how to justify align text?

Stirling Westrup sti at pooq.com
Wed Oct 11 16:41:57 CDT 2006


BrianB wrote:
> How can I justify align a page's text?  %text-align="justify"% doesnt work for me.

You need to apply it to the current paragraph, not the current span (as
your example does), so you want to say:

%p text-align=justify%your paragraph goes here

Or, you can just create a shortcut definition, and use it:

%define=justify p text-align=justify%

%justify% A fully justified paragraph.

See http://www.pmwiki.org/wiki/Test/Justify for examples of this in
practice.











More information about the pmwiki-users mailing list