[pmwiki-users] Re: Div Markup + Wiki Styles for Image Placement

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 8 19:42:45 CDT 2005


On Fri, Jul 08, 2005 at 05:24:54PM -0700, H. Fox wrote:
> > In a CSS file somewhere, put
> > 
> >    .imageleft { margin:4px; float:left; }
> > 
> Is there something equivalent that can be put in $Group.GroupHeader? 
> I expected the following to produce produce the desired effect, but it
> doesn't.
> 
>    %define=imageleft margin=4px float=left%

float= isn't defined as a valid wikistyle by default.  You can
enable it with

   $WikiStyleCSS[] = 'float';

and then the above define should work.  You can then also add it
into the configuration (instead of the %define=%) with:

   $WikiStyle['imageleft'] = array('margin'=>'4px', 'float'=>'left');

Pm



More information about the pmwiki-users mailing list