[pmwiki-users] wikistyles question

Ed W lists at wildgooses.com
Fri Aug 5 10:57:47 CDT 2005


Hi, I'm still trying to master wiki styles.  My experience is that it's 
all a bit of a muddle to figure out the right syntax and where to put it.

Could someone please give me an example (or perhaps several examples) of 
how to do the following simple exercise

So, lets suppose that I want to apply a style="clear:both" section to 
some piece of text, with the intention that the pictures above don't 
overlap this piece of text.  (Although it could be any other bit of 
html/css styling of course)

So I figured out I can do this:

  %block class=blockbreak% and then create that style in my CSS file (or 
in the pagename.css file in /css dir)

I think I ought to be able to write:

  %block style=clear:both%, but this doesn't work

Also it ought to be possible to use something like:

  $WikiStyleCSS[] = 'clear:both';

In local/config.php and then use it as:

  %clear:both%

But I can't figure out that syntax either

Nor can I figure out how to use

  %define=blockbreak style=clear:both%


Can someone please run through this basic stuff, and I guess at the end 
we can paste it into the wikistyles page as a somewhat definitive answer...

Thanks

Ed W




More information about the pmwiki-users mailing list