Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 25 Time: 06:43 - Mar 06, 2007  

alia

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;
}

Categories

Answer Discussion
Tutorials

 

rcastagna

Date:: Mar 08, 2007

Time:: 11:16

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

alia

Date:: Mar 11, 2007

Time:: 06:04

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

rcastagna

Date:: Mar 11, 2007

Time:: 15:02

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.

admin

Date:: Jun 16, 2007

Time:: 16:06

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

admin

Date:: Jun 25, 2007

Time:: 06:04

The question has been closed.

Quomon Admin

sandeepkumar

Date:: Aug 12, 2009

Time:: 03:30

we select the drop down in select with select class for example :
.Link a{
bgcolor: #FF0000;
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
display: block
}
.Link a:hover{
bgcolor: #FF0000;
display: block
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
}
.Link a select{
bgcolor: #FF0000;
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
display: block
}

nicholascage

Date:: Oct 12, 2010

Time:: 06:03

.Link a{
bgcolor: #FF0000;
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
display: block
}
.Link a:hover{
bgcolor: #FF0000;
display: block
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
}
.Link a select{
bgcolor: #FF0000;
font-family: Arial;
font-size: 1.2em;
font-weight: bold;
display: block
}

http://www.neu92.com/

Liao013

Date:: Jan 07, 2011

Time:: 04:39

Actually most times there is no need to rebuild or reinstalled your PC windows system, what you need is a PC protector. Tuneup360 is good choice, you just need to click one big “fix now” button and get your computer fixed at once.

Question Answered

This question has been closed, 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 a Tutorial in the Tutorial Area.

Answer 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:

Forgot Your Password?

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

Answer 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:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10279

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




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



Language Options

English:

www.quomon.com

Español:

www.quomon.es