[pmwiki-users] Associate wikistyle with following element?

Henrik Bechmann henrik at bechmannsoftware.com
Wed Nov 16 15:40:20 CST 2005


I have a number of custom css classes that I am revising to work with 
the PmWiki generated code.

I would like (for example) to be able to force association of a wiki 
style with an image, so that


would produce

<img class='image-right' src='upload/mygroup/mypic.jpg' alt=''>

instead of

<span class='image-right'><img src='upload/mygroup/mypic.jpg' alt=''></span>

as is currently generated.

The problem is that (for example) in this case when I embed the picture 
in text (wanting the floating picture to appear halfway down the 
paragraph), the <span> seems to cause the text after the picture to 
begin at the bottom right corner of the picture, instead of flowing 
around the picture.

IAC is there some way to force association of a wikistyle with the 
affected element as implied right after the wikistyle?


- Henrik


Henrik Bechmann
Webmaster, www.dufferinpark.ca

More information about the pmwiki-users mailing list