You are here: Re: Captions under images « HTML « IT news, forums, messages
Re: Captions under images

Posted by Jukka K. Korpela on 04/03/06 20:16

sorry.no.email@spamsux.com wrote:

> Can anybody suggest a straightforward way to put captions under all
> these images using CSS?

There are several straightforward ways, with or without CSS. None of them is
the correct one, since there is no markup designed for image captions, sadly
enough. It's up to your taste and style as well as the context.

For example, you could put each image in a single-cell table with a <caption>
element and use an HTML attribute and/or some CSS to make the caption appear
under the cell. This would work both for isolated images and (using
<table align="left"> or <table align="right">) for floated images. More info:
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

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