[pmwiki-users] Vertically centering text alongside images.

Tegan Dowling tmdowling at gmail.com
Wed Aug 27 09:23:34 CDT 2008

On Wed, Aug 27, 2008 at 8:29 AM, Vince Administration <vadmin at math.uconn.edu
> wrote:

> The instructions for displaying images around text in
> http://www.pmwiki.org/PmWiki/Images explains almost everything about
> placing images in a page (well, almost everything that I need), but
> one simple? thing seems to elude me. I am using lfloat  and the
> captioning, etc, work fine, but I would like the text to the right of
> the image
> (the images are usually narrow and several lines long, the text not
> as long) to be vertically centered with the image. Can somebody
> point me to what I need to do?

I use tables.

Heheheheh.  Well?  Someone had to say it.

The tables method is forbidden by CSS purists.  I read everything I can find
about how to do this without tables, but every "solution" I've ever seen
required so many hacks and work-arounds for the different ways that
different browsers handle stuff that none of them ever seemed do-able to
me.  So I use tables.  If you find a non-table solution that does *not*
require a whole slew of hacks and work-arounds, just be sure to check it in
all the major browsers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080827/b0a02413/attachment.html 

More information about the pmwiki-users mailing list