- From: Ian Jacobs <ij@w3.org>
- Date: Wed, 13 Jan 1999 13:53:59 -0500
- To: "Charles (Chuck) Oppermann" <chuckop@microsoft.com>
- CC: Wendy A Chisholm <chisholm@trace.wisc.edu>, w3c-wai-gl@w3.org
Charles (Chuck) Oppermann wrote: > > I agree. There needs to be a CSS attribute to control the rendering of the > ALT and TITLE attributes. Possible values would be: TOOLTIP or NONE. That > way, the author can control the visual appearance, and if required, the user > can override it. You can control the rendering of the "alt" and "title" attributes with CSS2: a) Get the value of the attribute with an attribute selector b) Use :before or :after to insert the text (whose style can be specified) before or after the element's content. This is, of course, different from the current tooltip mechanism which does not involve/change the document's rendering at all. With relative positioning, the 'visibility' property, and scripts, you can even simulate a tooltip effect. - Ian -- Ian Jacobs (jacobs@w3.org) Tel/Fax: (212) 684-1814 http://www.w3.org/People/Jacobs
Received on Wednesday, 13 January 1999 13:55:26 UTC