Chris M.
Flashlight Enthusiast
Being a recent convert to them, I have always been frustrated by the fact that Mozilla`s Firebird/Firefox browsers do not display the "alt" text of images in that little tool-tip box when the mouse pointer is hovered over them, which does work in MSIE. Particuarly so, because I use the "alt" text on the TRS to give my exact rating-out-of-50 for each review when you hover your mouse over the little rating pips next to each light in the review listing pages. The pips are actually there as an at-a-glance look, not a "star rating" as one or two people have asked me about. At the moment the actual rating is only given in those "alt" tool-tips, though maybe I should change that....?
Anyways, ever learning new HTML by peeking at other source codes, I recently discovered if I add the attribute title="text goes here" as well as alt="text goes here" in the image tags, I do indeed get the little tool tips in Firefox as well as MSIE. Not wanting to clutter up my code any more than I need to, or have more tags to edit for each new review that I may miss out if I`m not paying attention, I tried just changing all the "alt"s in one review page to "title"s which I tested and found to still work in Mozilla and MSIE.
Now my question is simply: is it OK as far as HTML standards go to use the "title" attribute in place of "alt", or will it cause problems anywhere if I don`t have them both? Previously I have always just seen "alt" used whever it is desirable to have a little tool-tip to explain an image or help you with page navigation, but this actually looks like a non standard MSIE-only quirk given the standards-based Mozilla`s behavior.
Excuse the confused waffle, hopefully someone knows what I mean here and might be able to give a definate answer before I go through the whole TRS and change all the tags over.
Anyways, ever learning new HTML by peeking at other source codes, I recently discovered if I add the attribute title="text goes here" as well as alt="text goes here" in the image tags, I do indeed get the little tool tips in Firefox as well as MSIE. Not wanting to clutter up my code any more than I need to, or have more tags to edit for each new review that I may miss out if I`m not paying attention, I tried just changing all the "alt"s in one review page to "title"s which I tested and found to still work in Mozilla and MSIE.
Now my question is simply: is it OK as far as HTML standards go to use the "title" attribute in place of "alt", or will it cause problems anywhere if I don`t have them both? Previously I have always just seen "alt" used whever it is desirable to have a little tool-tip to explain an image or help you with page navigation, but this actually looks like a non standard MSIE-only quirk given the standards-based Mozilla`s behavior.
Excuse the confused waffle, hopefully someone knows what I mean here and might be able to give a definate answer before I go through the whole TRS and change all the tags over.