FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » HTML select field where the OPTION text is of different colors
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: HTML select field where the OPTION text is of different colors [message #172771 is a reply to message #172769] Mon, 28 February 2011 16:44 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/28/2011 8:38 AM, venky_lb wrote:
> On Feb 28, 6:31 pm, "gemo...@gmail.com"<gemo...@gmail.com> wrote:
>> On Feb 28, 9:52 am, venky_lb<lb.ve...@gmail.com> wrote:
>>
>>> Hi
>>
>>> Is it possible to have an HTML select field where the OPTION text is
>>> of different colors?
>>
>>> <select>
>>> <option>Black_text (yellow_text)</option>
>>> </select>
>>
>>> I tried using an CSS SPAN element to color the text but that doesn't
>>> seem to work.
>>
>>> Any ideas?
>>
>> It's impossible. The only one thing that you can try is to emulate
>> select/options by javascript, but it's not easy
>
> Hi,
> Thanks for Sharing Ideas!!!
> any references for select/options by javascript?
>
> Cheers

Try a javascript newsgroup - and ask html/css questions in an
appropriate newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with attaching file (from a form) to email in PHP
Next Topic: Parsing Error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:41:03 GMT 2024

Total time taken to generate the page: 0.04264 seconds