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