Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-05-2003, 06:38 AM   #1
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
HTML Dropdwon menus

i have a drop down of 12 colours for the user to select. What i want is the word red in the dropdown to be coloured red, and the word green to be green etc.

I've seen this done but cant remember where and need help!!

any ideas?
chris1977uk is offline   Reply With Quote
Old 03-09-2003, 10:21 AM   #2
PCMech Founder
Staff
 
drisley's Avatar
 
Join Date: Mar 1999
Location: Tampa, FL
Posts: 1,950
Send a message via ICQ to drisley
Don't know if this will work, but try giving each OPTION of the dropdown its own style, like:
PHP Code:
<OPTION VALUE="red" STYLE="COLOR: RED;">red</OPTION
drisley is offline   Reply With Quote
Old 03-10-2003, 08:08 AM   #3
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
cheers drisley

worked like a charm
chris1977uk is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2