W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: hint property

From: David Woolley <forums@david-woolley.me.uk>
Date: Sun, 27 Jan 2008 17:21:12 +0000
Message-ID: <479CBD88.1050107@david-woolley.me.uk>
To: www-style <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:00 GMT