Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

coloured popup box contents 1

Status
Not open for further replies.

MrsKensington

Programmer
Sep 26, 2001
28
GB
Is there any way i can get a forms popup box to have different coloured backgrounds.
For example i want a popupbox with 3 selections, Red, Orange and Green and i want the background of the red selection to be red, the background of the orange one to be orange and the background of the green one to be green.

Is this possible?

thanks in advance!
 
I am a little confused. (my normal state) are you talking about alert/prompt type boxes or popup windows?

Roj
 
sorry just realised i was using the wrong terminology (i'm programming in Perl at themoment and there called popupbox's in that) err i want a pull down menu you know <SELECTION> and <OPTION> tag thing and i want it so each <OPTION> is a different colour
 
That's OK I have those days all the time.

Give this a try

<select name=bla value=whatever>
<option style=&quot;background-color:red&quot; value=red>Red</option>
<option style=&quot;background-color:green&quot; value=green>Green</option>

Roj
 
And I'll bet that it doesn't work in at least one of the currently used version of NS. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top