W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: option-image

From: Guy Leech <guyleech@gmail.com>
Date: Thu, 21 Jun 2007 15:33:23 +1000
Message-ID: <e0db7f770706202233q3e17899du8a0cf3f1e0401dc3@mail.gmail.com>
To: www-style@w3.org
You can just set a background-image for option, and add some extra padding
to move it out of the way of the text. That makes it far easier to
customize. However, some people don't approve of styling form elements, as
they're inconsistent across browsers.

On 6/15/07, Dmitry Turin <sql40@narod.ru> wrote:
>
>
> Good day.
>
> Excuse me, i don't find in documentation, what is the way to specify image
> for <option> ?
> Something like property 'list-style-image' for <li> ?
> Clarify, please.
>
> If way for <option> does not exist, than maybe there is sense to add
> attribute,
> something like <option image="http:// ">.
> It should be attribute instead of property, because apparently each
> <option> will has unique image.
>
>
> Dmitry Turin
> HTML6     (6.1.0)  http://html60.chat.ru
> SQL4      (4.0.5)  http://sql40.chat.ru
> Computer2 (2.0.2)  http://computer20.chat.ru
>
>
>


-- 
- Guy

guyleech.net
Received on Thursday, 21 June 2007 05:33:28 GMT

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