Register  |  Login

Question Details    

   Question

Time: 06:43 - Mar 06, 2007     Asked by: alia      Status: Answered      Points: 25   

hi how can i change the color for select or drop down list in css in dreamweaver program

i used this code but not work ,help me plz

select
{
scrollbar-face-color:#79b0dd;
scrollbar-arrow-color:#003366;
scrollbar-track-color:#c9dded;
scrollbar-shadow-color:#6682BC;
scrollbar-highlight-color:#6682BC;
border:1px solid #FFFFFF;
}

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
alia,

scrollbar only pertains to the scrollbar of the browser itself, frames, and depending on the browser, scrollbars for <textarea>s.

What color are you trying to change? If you're trying to change the background color of the dropdown or listbox, you can use a stylesheet class, or even the style properties.

using your example above:

select
{
bgcolor: #FF0000;
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
}

This should give you a dropdown or listbox with a red background and large, bold Arial type for the options.

Oh, and unless things have changed...the scrollbar color changes you show are only compatible on IE 5.5+ and no other browsers.

Ric

Expert:

rcastagna

Date:

Mar 08, 2007

Time:

11:16

 

Votes: Good (0) | Bad (0)
Login to rate this answer

hi thanks for replaying ,but i wana to change the arrow in the selector color not the bgcolor and text color
thanks again
alia

Expert:

alia

Date:

Mar 11, 2007

Time:

06:04

 

Votes: Good (0) | Bad (0)
Login to rate this answer

alia,

You will not be able to change just the arrow used to indicate the additional options of the dropdownlist, and as explained earlier, any of the color changes you described will only pertain to people viewing your site with Internet Explorer.

Expert:

rcastagna

Date:

Mar 11, 2007

Time:

15:02

 

Votes: Good (0) | Bad (0)
Login to rate this answer

alia, please close this question and distribute the points.
If you didn't get a solution to your problem or you found it yourself, please leave a comment here to let the experts know.
Thanks,
Quomon Admin

Expert:

admin

Date:

Jun 16, 2007

Time:

16:06

 

Votes: Good (0) | Bad (0)
Login to rate this answer

The question has been closed.

Quomon Admin

Expert:

admin

Date:

Jun 25, 2007

Time:

06:04

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

rcastagna: 25

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment