DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   changing the color of a HTML form selection (http://www.daniweb.com/forums/thread5152.html)

steven_s-h Apr 8th, 2004 7:18 am
changing the color of a HTML form selection
 
I want to change the color of a selection object in an HTML form (ie a <SELECT> object). I have used CSS to get all my textfields looking nice, but I can't see how to change the border, or the little arrow on the selection box.
I think that it should be similar to changing the scrollbar in IE.

LoriL1212 Apr 12th, 2004 7:09 pm
Re: changing the color of a HTML form selection
 
To my knowlege, it's not possible to change anything but the color in the OPTION objects - only the color of the boxes, but not the arrows.

steven_s-h Apr 13th, 2004 10:33 am
Re: changing the color of a HTML form selection
 
Quote:

Originally Posted by LoriL1212
To my knowlege, it's not possible to change anything but the color in the OPTION objects - only the color of the boxes, but not the arrows.

Thanks.
I think that they need to add this capability to the CSS specification - it throws the whole design of my webpage having big ugly boxes all over the place!

rixius Apr 14th, 2004 10:55 pm
Re: changing the color of a HTML form selection
 
Are you speaking of the combo boxes? If so I believe those, and radio buttons and checkboxes can be modified to images via javascript if I am not mistaken.

I can't remember the site I read about it at... it started with a D, I will look for it.

steven_s-h Apr 15th, 2004 7:32 am
Re: changing the color of a HTML form selection
 
Quote:

Originally Posted by rixius
Are you speaking of the combo boxes? If so I believe those, and radio buttons and checkboxes can be modified to images via javascript if I am not mistaken.

I can't remember the site I read about it at... it started with a D, I will look for it.

yes, its a combobox. I hadn't thought of using javascript. I'll look into it.
thanks!

rixius Apr 15th, 2004 5:07 pm
Re: changing the color of a HTML form selection
 
Yep! and if all else fails, it can probably be done easily in flash, too. :)


All times are GMT -4. The time now is 9:39 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC