You are here: Re: text and images « HTML « IT news, forums, messages
Re: text and images

Posted by Jukka K. Korpela on 09/20/05 17:35

"jj" <no@spam.com> wrote:

> i have a series of images with text descriptions next to each one of
> them. all are placed within a table.

Please consider using normal spelling with mixed case as well as a real
From line in your message, if you want to be taken seriously.

Please include a URL of a specific page, if you wish to get help with a
specific page or specific problem. To begin with, there are about 42
different ways to put images and descriptions (or captions) in a table.
Generally, solutions depend on problems, and we don't really know the
problem.

> my problem is that when there are too many text & images in the table
> the last image in the row automatically get placed in a new line, which
> is what you'd expect.

Really? I didn't expect that. Sounds you have used the 43rd way.

> my question is how do i make the image and text "fuse" together so that
> if there is no space for the image or the text on the current row they
> BOTH get placed on a new line instead of one staying on the line above
> and the other breaking to a new line.

In general, with no regard to any specific existing design and
implementation (since they were not specified), you could put an image and
the associated text (caption) in a single-cell table, and use align="left"
in the <table> tags. This is the pure HTML approach, which isn't really
modern and stylish, but it might work sufficiently well. It should also
work for cases where the text is on the right of the image, which might be
what you're after, though not common, and perhaps not a good idea; it's
more normal to put a caption below an image, or sometimes above it.

For an illustration, and some other approaches, see
http://www.cs.tut.fi/~jkorpela/www/captions.html

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация