|
Posted by Rob Waaijenberg on 11/04/07 14:00
MangroveRoot schreef:
> 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?
You should visit Dan Cederholms website "Simple Bits";
What you want is described in his book Bulletproof Web design;
the website has example codes in the Publications-section.
What you're looking for is in chapter 4 of the book.
--
Rob
Navigation:
[Reply to this message]
|