W3C home > Mailing lists > Public > www-html@w3.org > August 2003

Re: Icon in Select Box

From: Roland Bluethgen <calocybe@web.de>
Date: Tue, 05 Aug 2003 18:45:13 +0200
Message-ID: <3F2FDF19.5090309@web.de>
To: www-html@w3.org

Matthias Gutfeldt wrote:
> Agreed, not legal with HTML. On the other hand, one could use CSS to
> add an individual background-image to each option element. I tried a
> minimal example and it works in my version of Mozilla, but not in
> Opera7 or Internet Explorer 6.

option :before { content:url(image-url) }

German-speaking people find an article about this issue at 
http://selfaktuell.teamone.de/tippstricks/css/optionbilder/ .

http://selfaktuell.teamone.de/tippstricks/css/optionbilder/beispiel.htm 
shows an example.


BTW, this is off-topic here. ;-)
Received on Tuesday, 5 August 2003 12:45:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:10 UTC