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

H. Fox haganfox at gmail.com
Fri Jul 8 19:24:54 CDT 2005


On 7/8/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Fri, Jul 08, 2005 at 04:59:47PM -0700, H. Fox wrote:
> > Can I make both of the following
> > generate similar XHTML in the wiki page?
> >
> >     (:div style="margin:4px; float:left;":)
> >     Attach:foo.jpg
> >     (:divend:)
> >     Some text.
> >
> >     >>imageleft<<
> >     Attach:foo.jpg
> >     >><<
> >     Some text.
> 
> In a CSS file somewhere, put
> 
>    .imageleft { margin:4px; float:left; }
> 
> and you're there.  If you want to do it from a configuration file, you
> can of course do:
> 
>    $HTMLStylesFmt['imageleft'] = " .imageleft { margin:4px; float:left; }\n";

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%

Hagan

> Pm
>




More information about the pmwiki-users mailing list