Friday, January 07, 2005

Tooltips

Tooltips can be a useful element even in Web UIs. For most tags you can specify the title attribute which gets rendered as a tooltip for that tag by IE. For the img tag, the alt attribute acts as its tooltip, but in case you also supply a title attribute, it overrides the value of the alt attribute.

Let’s look at yesterday’s example with tooltips enabled. I have also set the table-layout of our table’s style to fixed , so you no longer need another div inside the td (do a view source – that should clear things up a bit)

Have a great Weekend!

No comments: