Re: Vertically aligning text next to images

gjw@best.com
Tue, 30 May 1995 22:03:53 +0500


I use the follwing technique in order to line up my text with the middle of an
image.

<img align=middle src="../buttons/books.gif">
<b>The Resource Page</b>

<---- Begin Included Message ---->
Date: Tue, 30 May 1995 19:07:49 +0500
Reply-To: boo@primenet.com
Sender: www-html@www10.w3.org
From: boo@primenet.com (Walter Ian Kaye)
To: Multiple recipients of list <www-html@www10.w3.org>
Subject: Re: Vertically aligning text next to images

>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?

<---- End Included Message ---->

---
Gregory Woodhouse
gjw@best.com
http://www.webcom.com/~gjw1/