Re: Tooltips vs. ALT in IMG (was Re: Questionable implementation of

Liam Quinn (liam@htmlhelp.com)
Sat, 24 Jan 1998 16:11:18 -0500


Message-Id: <3.0.5.32.19980124161118.0097fe70@undergrad.math.uwaterloo.ca>
Date: Sat, 24 Jan 1998 16:11:18 -0500
To: Jordan Reiter <jreiter@mail.slc.edu>
From: Liam Quinn <liam@htmlhelp.com>
Cc: www-html@w3.org
In-Reply-To: <l03110701b0efb6c988ff@[192.168.1.207]>
Subject: Re: Tooltips vs. ALT in IMG (was Re: Questionable   implementation  of

-----BEGIN PGP SIGNED MESSAGE-----

At 03:14 PM 24/01/98 -0500, Jordan Reiter wrote:
>=7FRob felt an urge to reveal at 6:19 AM -0000 on 1/24/98:
>
>> How to assign CLASSes and IDs to an attribute rather than an element in
>> CSS I don't know. Has that been thought about yet?
>
>As far as I know, you *can't*. I can't remember exactly what it was, but=20
I
>remember someone wanting to be able to use stylesheets to affect the
>appearance of attribute-based information...Oh, I remember now...to be=20
able
>to affect the appearance of text based on the LANG attributes...

You can do this in CSS2 [1]:

[LANG=3Dla] { font-style: italic }

See <http://www.w3.org/TR/WD-CSS2/selector.html#h-6.3> for more on=20
attribute selectors.

However, this is not what Rob wanted, which was a way to specify the=20
appearance of rendered attribute content.  This isn't possible, unless you=
=20
apply the style to the element (IMG), which would also affect the=20
rendering of the image and ALT text.

[1] http://www.w3.org/TR/WD-CSS2/

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQB1AwUBNMpY9Q/JhtXygIx1AQE9vQMAy4YhCX6Ku7Cbop/s41HEy0Z3QGSIHofm
AFchA7FzURMb99CnKchjX4Qs8n5OyYuY4RAhkRC1DQCoKk8owzVy71hoOV1fM4wR
ymS3oy9p39XvagPOqPR/agcitDpnufSi
=3DXx/+
-----END PGP SIGNATURE-----

--
Liam Quinn
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/