From: "Stuart King" [EMAIL-REMOVED]>
Sent: Wednesday, March 26, 2008 8:02 PM
Subject: [css-d] getting titles to appear under image - when hovering on
> Hi css'erss
> I am trying to get the titles of each individual gallery (gallery1;
> gallery2; gallery3; gallery4; and gallery5;) to appear underneath the dots
> when hovering over the image above.
That's an awfully complex approach. My advice would be to have each gallery
image be a separate image, use the ALT attribute properly, then carry the
popup title as the actual text of the link, embedded inside a span, which
you would show and hide using the a:hover pseudoclass... like this:
It's perfectly accessible because assistive readers will read the ALT
attribute and people with images disabled (very rare breeds) will see the
ALT attribute if they've set up their browser properly (if not, they get
exactly what they asked for).
Al Sparber - PVII
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design"
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/