[pmwiki-users] Multi Prop Custom Styles

Sivakatirswami katir at hindu.org
Mon Apr 25 14:20:10 CDT 2005


The documentation and examples for custom wiki styles are a bit lean...
I read through them carefully, but I don't think I get it yet.

Goal: set a custom style with multiple CSS properties:

Test (entered into /local/config.php for testing)

   $WikiStyle['style1']['color'] = 'white' ['padding'] ='10px 10px 10px 
10px' ['bgcolor']= 'green';

Where we are wanting reversed out white type on a green background with 
a bit of padding....

fails... I get an error on that line.

Can someone give a proper example of  a multi-property custom style?

I want to use the  %block=MyNewStyle%

mark up to paragraphs, bullet lists, post-response discussions on one 
page etc.

And set up a few standard styles in farmconfig.php

  I *really* look forward to some %div% mark up that spans blocks...

Thanks

Sivakatirswami




More information about the pmwiki-users mailing list