Previous Message
Next Message

Multi-line text after an image

Sent by Michael Tracey Zellmann on 8 February 2008 01:01


I have a web-page that holds several images. Each one has a
description. I have the images in a <ul> list, each held in a <li> tag
</li>

I am placing the description text right after the image, within the
same <li> tag. I have styled the <img> tag with vertical-alignment:
center, and it behaves the way I would like - with the description
aligned with the center of the height of the image. That is fine for
relatively short descriptions. However, if the description is longer,
it will wrap and then continue under the image. I would like the text
to stay to the right of the image, all contained within the region
from the top to the bottom of the image. What is a good way to achieve
that?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message