Jump to content

changing combo box look


isaac_cm

Recommended Posts

Yes. So long as you follow the proper rules of form creation, syntax and use proper doctype with valid code and css, form styling can be controlled (there are some cross-browser issues). It is not simple or basic css, though, it is actually quite advanced, but easy to learn.

 

Here is a great article and tutorial for styling all types of form elements - including combo boxes - along with cross-browser fixes. Don't expect to "get it" all in one quick shot, though. Read it through carefully and even copy the sample page code and css for personal styling experimentation:

 

http://www.456bereastreet.com/archive/200410/styling_even_more_form_controls/

Using Form controls + css is way more cross browser disfunctional than normal html.  A while back I had done some experiments and research and found that the usage of css items like 'padding' or 'border' with form control are near impossible to make cross browser compatable.  The select box itself turned out to be the most cross browser chalanged with the application of css.  Way funky things can happen with the select downarrrow itself with the application of what you might think was simple, basic css.  I gave up trying to make the form controls much fancier with the use of css because of  the hideous cross browser compatability problems and settled with just setting a slightly off white background color for the controls. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.