[pmwiki-users] Images: vertical align

Mike mike at widowitz.com
Thu Oct 19 11:28:20 CDT 2006

Patrick R. Michaud wrote on 19.10.2006 16:22:
> On Thu, Oct 19, 2006 at 03:58:30PM +0200, Mike wrote:
>> Hello,
>> I have an image and would like some text to go next to it, but be center
>> aligned:
>> ...
>> I fiddled around with %lfloat% and %left%, and also defined the CSS
>> property "vertical-align", but didn't manage to have it apply to *the
>> image* (and not to the <span> *around* the image).
>> The documentation doesn't mention this point.
>> Any hints?
> Perhaps   %img vertical-align:center% would work?

Unfortunately, it doesn't.


%img vertical-align:center%Attach:image.jpg Some text%%

results in this HTML:

<span class='img' style='vertical-align: center;'><img src=....

instead of putting the style attribute into the image tag.
Same problem goes for

%img vertical-align:center%Attach:image.jpg%% Some text

as well...


More information about the pmwiki-users mailing list