Welcome to WebmasterWorld Guest from 54.211.136.250

Forum Moderators: not2easy

Message Too Old, No Replies

Any way to color arrow part of drop down menu?

Text area arrow?

   
1:31 am on Jun 26, 2004 (gmt 0)

10+ Year Member



Hi everyone,

Is there any way to color the arrow part of a text box in a form (for shopping cart selection)? I can color everything else but that stupid blue arrow box that you click on for the menu to drop down.
Did I explain so you understand what Im talking about?

Thanks for any help
RenVac

2:28 am on Jun 26, 2004 (gmt 0)

10+ Year Member



No, you cant. Well you probably can for some browsers, but different browsers displays the select box differently. So its impossible to even try to get a consistent style for the select box arrow.
3:21 am on Jun 26, 2004 (gmt 0)

10+ Year Member



How did I know you were going to say that you couldnt change that part! Oh well guess I have to come up with something else or be stuck with the blue. It just doesnt match the rest of my site!
Well thank you for your reply.
RenVac
5:54 am on Jun 26, 2004 (gmt 0)

10+ Year Member



You could use flash widgets... or applets (like thats common), or make images that onmouseover (javascript) change their appearance, and onclick do whatever is expected ;)

All easy fixes </sarcasm>

12:20 pm on Jun 26, 2004 (gmt 0)

10+ Year Member



<You could use flash widgets... or applets (like thats common), or make images that onmouseover (javascript>

Havent gottent that far yet! Dont know how to do those yet. But thanks anyway!
RenVac

7:49 pm on Jun 26, 2004 (gmt 0)

10+ Year Member



You know what, I ran into exactly this issue about a week ago.

Technically browsers can choose whether or not to support CSS attributes on FORM ELEMENTS - HOWEVER - Mozilla and Opera currently do not do so consistently.

BOTH make the following claim:

"Form elements are just that - form elements, and you cannot make them look like anything else besides form elements."

This is the reasoning behind their currenly (sparse) support for styling form elements.

However, both say that in their next versions they will be providing full support for this, simply because the W3 specs do not explicitly prohibit styles on those elements (they don't provide FOR them, either, by the way, which is why they are not currently consistenly supported).

Edited to add:
I should mention that what they DON'T support are things like text and background colors on the elements. For example, Opera doesn't support background colors in <option> tags in a <select> list. They DO however, support things like defining the box-model behavior of the element; it's padding, margins, borders, etc.