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

Title attribute and css selectors

From: Lorenzo De Tomasi <lorenzo.detomasi@gmail.com>
Date: Sun, 16 Mar 2008 10:29:35 +0100
Message-ID: <5c2a5c380803160229o4b74a890mff6460510b57f1d0@mail.gmail.com>
To: www-style@w3.org

Ciao,

Is it possible with css to select a visible attribute like title=""
and apply a new style to it?

For example, in <a href="http://index.html" title="Go to the
homepage">Homepage</a>
or in <img src="paris.jpg" alt="Two children running in front of the Eiffel
tower" title="Paris, 2008">, using only css, to set a different text-color or
background-color for the 'title box' that appears when i do a rollover
on the link or the image (Firefox default is a black text on a yellow
background box).



Thank you very much

-- 
Lorenzo De Tomasi
Designer multimodale
http://www.ipernico.it
http://www.isotype.org (in costruzione)
Received on Sunday, 16 March 2008 09:30:10 GMT

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