homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Any way to color arrow part of drop down menu?
Text area arrow?
renvac

10+ Year Member



 
Msg#: 3965 posted 1:31 am on Jun 26, 2004 (gmt 0)

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

 

Bonusbana

10+ Year Member



 
Msg#: 3965 posted 2:28 am on Jun 26, 2004 (gmt 0)

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.

renvac

10+ Year Member



 
Msg#: 3965 posted 3:21 am on Jun 26, 2004 (gmt 0)

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

SethCall

10+ Year Member



 
Msg#: 3965 posted 5:54 am on Jun 26, 2004 (gmt 0)

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>

renvac

10+ Year Member



 
Msg#: 3965 posted 12:20 pm on Jun 26, 2004 (gmt 0)

<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

TheBlueEyz

10+ Year Member



 
Msg#: 3965 posted 7:49 pm on Jun 26, 2004 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved