CSS in select tag

They have: 27 posts

Joined: Aug 2001

Is is possible to change the scrollbar color for the select tag in CSS? I'd like to have my select tags match my theme for my reg form.

Thanks,

Mark

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

I don't know if you can. I tried changing this a couple of different ways but couldn't get anything to work.

detox's picture

They have: 571 posts

Joined: Feb 2001

To the best of my knowledge, you cannot change the color of scrollbar or button that accompanies the the tag. However, you can change the colors of the scrollbars in a

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi LancerForums, etal:

You may find these threads interesting.

Among them is the following code:

body {scrollbar-base-color:#000000;scrollbar-arrow-color:#dddddd;scrollbar-track-color:#dddddd}

Vinny

Where the world once stood
the blades of grass cut me still

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Hey, Vinny, you might notice in that thread that he said that you can't change the color of the select arrow. Putting it in the body tag will only change the scrollbar on the page.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Mark,

Yes, I did notice that and agree with it, but I figured the information in the threads was worth sharing anyway.

Vinny

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Vinny, definitely worth sharing. I just didn't know if you had read on down at the bottom of the thread. I am not sure that a colored select arrow would look all that good any way.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Mark,

Quote: I am not sure that a colored select arrow would look all that good any way.

I don't know; I've always felt arrows should be forest green (in honor of Robin Hood Laughing out loud

Vinny

Where the world once stood
the blades of grass cut me still

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Quote: Originally posted by Vincent Puglia

I don't know; I've always felt arrows should be forest green (in honor of Robin Hood)

Or maybe red in favor of Cupid.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

LancerForums,

Accidently I bumped into this:

http://www.simplythebest.net/info/vbscript3.html

I think it's a cewl alternative for a and the look and feel is completely customizable, so you might consider using this...

Shakespeare: onclick || !(onclick)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.