Ron Zisman wrote: > http://www.musiccityyo.org/gallery.html
> i preparing a photo galley for a small site for kids. the images > don't have captions, but i want interested people to be able to > identify the images to be able to order prints from the photographer. > i know i could just put the image number into a caption, but would > rather it no be there unless needed. Demo: <http://www.gunlaug.no/tos/alien/rz/test_08_1004.html> First row show captions in hover. (IE6 needs more help than I've included in the example for that one to work, but other browsers will do fine.) With such a hidden caption the alt-attribute on images can be left empty. Second row has title-attributes - tootips. Title-attributes can not replace text in alt-attributes. Note that IE/win is buggy and presents text in alt-attributes as tooltips by default - unless there's a non-empty title-attribute in which case it'll present the title-text instead. > what is a tooltip (it shows on mouseover) and would that work using > the title attribute on each image? A title-attribute is where you can place short pieces of extra, non-vital, information, and hope browsers present it on hover. Nearly all browsers do present title-text as tooltip - after a short delay, but _how_ browsers present tooltip is outside our (CSS) control and the tooltip text is often hard to read. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d 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/
