[pmwiki-users] Right to left orientation

Patrick R. Michaud pmichaud at pobox.com
Sat Sep 2 12:06:45 CDT 2006

On Fri, Sep 01, 2006 at 10:17:34AM -0700, John Morris wrote:
> Help please,
> Other than marking sections as "%right%", is there a way to treat whole 
> "groups" as Right oriented text for those languages that are read right to 
> left?  Specifically Arabic, in this case.

By "groups" do you mean "wikigroups"?  If so, the easiest way would
be to probably make 'text-align:right' the default in the per-group
css file.  For example, if pub/css/ArabicGroup.css contains

    p { text-align:right; }

then all paragraphs in ArabicGroup would appear right-aligned.  To
right-align more than just paragraphs:

    td, th, p, li, div { text-align:right; }

To right-align only the things that are in the main text body,
while leaving the rest of the skin alone:

    #wikitext { text-align:right; }

> Thanks for your help.

You're welcome!  :-)


More information about the pmwiki-users mailing list