[pmwiki-users] improved markup for floating images...?

John Rankin john.rankin at affinity.co.nz
Thu Jul 28 22:55:44 CDT 2005


On Friday, 29 July 2005 3:17 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Thu, Jul 28, 2005 at 11:07:45PM -0400, DaveG wrote:
>> Basically what I'm suggesting is to just use %left% and %right% for 
>> images as well as paragraphs. Make the code work out which to apply, 
>> rather than the user.
>
>Unfortunately it's not nearly that simple.  %left% and %right%
>are really shortcuts for %block text-align=left% and
>%block text-align=right%, and they can occur in the middle of
>other structures -- i.e., one could decide to write
>
>    %color=red right font-family=Arial%
>
>and we'd have to detect it somehow.  
>
>At any rate, %right% and %left% do work; they simply don't
>float.
>
>Pm

Does it have to be words? What about %<% to float an image left 
and %>% to float it right? Or is that too terse?

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list