Sent by Ian Hickson on 29 November 2003 12:12
On Sat, 29 Nov 2003, The Moose wrote:
>
> A Friday night CSS one-liner: image captions extracted from ALT and
> positioned over the image with mouseover effects.
Just as a note, the correct attribute to use for image captions is the
"title" attribute. The "alt" attribute is meant for an alternative
rendering of the image in case images are unavailable.
For example,
<img src="../../image/photos/n-tiny.jpg" width="300" height="131"
title="Nevcyrská Valley"
alt="Jagged mountains framing a valley are obscured by heavy fog.">
(Note that it is not a description -- there is no reference to the fact
that it is a photo -- it just conveys the same meaning as the photo, but
in textual form.)
--
Ian Hickson )\._.,--....,'``. fL
U+1047E /, _.. \ _\ ;`._ ,.
http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/