|
Posted by Chris F.A. Johnson on 11/04/07 01:37
On 2007-11-04, MangroveRoot wrote:
>
>
> Here's one for you:
> I have a bunch of images (say, half a dozen)
> that I want to place vertically down a page.
> I want to put the captions beside them.
> (Something of an aside, the captions contain links to further explanations.)
> What I'd like to do is alternate them this way:
> +-------+
> | image | <-- caption
> +-------+ +-------+
> caption --> | image |
> +-------+ +-------+
> | image | <-- caption
> +-------+ +-------+
> caption --> | image |
> +-------+ +-------+
> | image | <-- caption
> +-------+ +-------+
> caption --> | image |
> +-------+
> Keep in mind that some images may be taller or wider than others,
> and that while some captions may be only a single line, others may not.
> Anyone have an elegant way to do that?
<http://cfaj.freeshell.org/testing/alternate.shtml>
--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|