Re: Vertically aligning text next to images

Walter Ian Kaye ([email protected])
Tue, 30 May 1995 19:04:38 +0500


>What attributes can one use to determine the vertical positioning of text
>alongside inline images? For example, I'm trying to align some brief
>explanatory captions next to thumbnail images. I've aligned the image to
>the left of the page, which allows the text to run flush with the right
>side of the image. But since there's not much text, I'd like to have the
>text begin about a quarter of the way down the image rather than at the
>image's top border.
>
>Is there any elegant way to accomplish this, or must I use <br>s?

Well, depending on the size of the image relative to the text, you might
try something like:

<table>
<tr><td rowspan=4><IMG SRC="whatever">
<tr><td><td rowspan=3 valign=top>the caption
<tr><td><td><td>&nbsp;
<tr><td><td><td>&nbsp;
</table>

This is off the top of my head -- please excuse the hairs ;)

-Walter

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Walter Ian Kaye: (602) 942-6390 FoxPro/Excel Programmer; Guitarist #
# Correspond to: [email protected], [email protected] #
# BinHex files: [email protected] WWW: http://www.primenet.com/~boo/ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #