[pmwiki-users] Images: vertical align
Patrick R. Michaud
pmichaud at pobox.com
Thu Oct 19 11:28:26 CDT 2006
On Thu, Oct 19, 2006 at 12:07:10PM -0400, Henrik wrote:
> I also added
>
> $WikiStyleCSS[] = 'vertical-align';
>
> to my config file so that the wiki style routines would recognize the rule.
>
> Plus I use %apply=img...
>
> Is %img... enough?
Oh yes, it might need to be %apply=img ...% instead of %img ...% .
Although one can certainly make %img ...% work by doing:
%define=img apply=img%
or
$WikiStyle['img']['apply'] = 'img';
Thanks!
Pm
> Patrick R. Michaud wrote:
> >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?
> >
> >Pm
> >
> >_______________________________________________
> >pmwiki-users mailing list
> >pmwiki-users at pmichaud.com
> >http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
>
> --
>
> Henrik Bechmann
> www.osscommons.ca
> www.bechmannsoftware.com
> Webmaster, www.dufferinpark.ca
>
>
More information about the pmwiki-users
mailing list