Valério Vaz wrote:
>
> I am trying to do a form, with an input field (text and already
> finished) and a dropdown menu option.
[...]
>
> Now, i want to put the background of the "select" black, and did this
> CSS:
>
> .input-center select { background: #333; border: none; color: #fff;
> margin: 0; padding: 0; height: 17px; }
>
> It worked.
You may want to check in as many browsers as you can. IIRC older Opera
applied 'color' but not 'background-color'.
>
> Now, i just need to replace the default dropdown arrow for an image
> that i've created, and i don't know how. Anyone can help me?
> ______________________________________________________________________
I doubt you can do that directly. I think you'd be better off replacing
the entire select box. Something along these lines, perhaps? -
http://v2.easy-designs.net/articles/replaceSelect/
http://v2.easy-designs.net/articles/replaceSelect2/
Cordially,
David
--
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/