Re: hint property

Nikodem wrote:
> 
> img[title]
> {
>     hint: attr(title)

This construct is better known as a tooltip.

> 
> The yellow hint shown after hovering a link with title attr etc.
> 
Yellow is just the default colour used in certain software.

 From a styling point of view, isn't this really just a generated 
content box, that could be described with normal CSS constructs.

In terms of making the tooltip look like a platform tooltip (generally a 
good idea, but designers don't seem to like scrollbars, or buttons, 
looking like the standard ones), http://www.w3.org/TR/css3-ui/ seems to 
be suggesting that the generated box should have a property  something 
like appearence: tooltip.

As an alternative to tooltip, "info", rather than "hint" seems to be the 
preferred CSS terminology.

-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Sunday, 27 January 2008 17:21:20 UTC