Click to See Complete Forum and Search --> : Working with select option


techie_kalyan
March 11th, 2005, 12:06 AM
hi,

I've been able to apply styles to text fields, and other related components while creating a form. But i am unable to apply any styles to drop down menu (i am referring to the base display when the form gets loaded, NOT the pulled down menu portion).

Can anyone suggest me how to override the default styles of the drop down box?

Regards,
Kalyan Chakravarthy

Satishpp
March 11th, 2005, 03:28 PM
This changes the foreground and background color if that is what you mean.

<style type="text/css">
SELECT
{
color: #330099;
background-color: #cc0fff;
}
</style>

-Satish

techie_kalyan
March 13th, 2005, 11:05 PM
Hi,

This is ok. Foreground, background, fonts... all these are fine. the problem is with borders. I want a border.

In short, I want my drop down menu, similar to the textfield I have in the attached picture.

regards,
Kalyan Chakravarthy