barnum — 2010-01-12T10:24:38-05:00 — #1
Why does my alternative text show in IE, but not in Firefox or Opera?
Example from my code....
<a href="thumbs/weekendcrowdthumb.jpg"><img src="images/weekendcrowd.jpg" width="375" height="265" border="0" alt="A beautiful day in Atlantic City"></a>
webcosmo — 2010-01-12T10:40:51-05:00 — #2
FF does not show that. Unless you have the title attribute set for the link associated, if any.
gary_turner — 2010-01-12T10:50:39-05:00 — #3
The alt attribute's text is supposed to show only if the image doesn't; it is the alternative to the image. IE gets it wrong. The title attribute is the correct one to use for a tooltip on hover.
barnum — 2010-01-12T11:28:29-05:00 — #4
Since I cannot depend on that to indicate the contents of my photos, how do I put a caption under each? I have about three photos across, and quite a few down. I had tried to do captions prior, but had absolutely no luck centering them under each photo. Is there a way to do it with CSS?
felgall — 2010-01-12T13:53:17-05:00 — #5
To display a tooltip on any part of your web page use the title attribute. IE has a bug that copies the alt attribute into the title attribute on images where no title attribute is specified so you need to specify a title attribute on images to fix for that bug anyway.
gary_turner — 2010-01-12T18:05:52-05:00 — #6
This is a different issue. It has been discussed several times in the css sub-forum. My offered solution is usually to use inline-block list items. Paul O'B has a demo also.