Reply to Re: Select element

Your name:

Reply:


Posted by Philip Ronan on 07/08/05 15:51

"Fabri" wrote:

> Is it possible to assign a different color in a select multiple?
>
> <select multiple>
> <option>Here I would like red</option>
> <option>Here I would like different color</option>
> </select>

Not reliably, no. The following might work in a few browsers:

<HEAD>
:
<STYLE type="text/css">
.red { color: #f00; }
.blue { color: #00f; }
</STYLE>
:
</HEAD>
<BODY>
:
<select multiple>
<option class="red">Here I would like red</option>
<option class="blue">Here I would like different color</option>
</select>

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация