Forum Moderators: open
Example:
A sentence with an <span class="definition" title="This will make things clearer for you.">obscure word</span> and corresponding pop-up definition.
I'm looking for a way to put some formatting in that little info box, though.
This page has a good example of what I'm talking about. Notice the "Usher" intellitext info:
It seems that they use a DIV with an ID attribute, and then a style sheet for the info window. I'm not too "up" on everything that can be done with SPAN tags as I've always stuck to the safe, basic tags (i'm also a tad confused on what exactly they're calling with the ID attribute inside the DIV tag since CSS is called by classes.).
Also, how do they do that double underline with their CSS - I don't remember that as being a valid value for TEXT-DECORATION!?!
But things have evolved quite far since then, and css has really come into its own. Our CSS Forum [webmasterworld.com] stands ready to help - I think you'll find that its one of the best CSS resources on the web.
But, I digress...
I've since looked at numerous "tooltip" scripts on DynamicDrive, but have failed to find one that will:
1. Work with text and not links.
2. Be functional on all browsers.
3. Will allow me to put some sort of formatting within the info box (or "tooltip" box).
I really need some suggestions. Got any?
Thanks.