I have a series of SPAN tags throughout my HTML document, eg: <span class="myclass">.
I use these SPAN tags to assign color and text formatting to certain pieces of text with the MYCLASS style.
All of these SPAN tags also have a TITLE attribute set to make a "tooltip" pop up when the mouse moves over these pieces of text.
The TITLE on each of these pieces of text is exactly the same. I was wondering if I could set the TITLE text somewhere in the MYCLASS CSS script.
Does anyone know if this is possible? If so, can someone show me how it's done?
If it's possible, I'd imagine you could also use it with setting the ALT tag on images too!
Cheers,
Chris
PS: I've just spent the last hour searching the forums and haven't seen this question asked anywhere!


Reply With Quote
Bookmarks