HighDots Forums  

Formatting a <SELECT> box

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Formatting a <SELECT> box in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Laphan
 
Posts: n/a

Default Formatting a <SELECT> box - 11-07-2004 , 05:17 AM






Hi All

Could you please confirm what the syntax is to change the style of a
<SELECT> box using CSS.

I basically want to take the 3D effect off this box, but it doesn't seem to
be possible like it is with an <INPUT> box.

Thanks

Laphan








Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Formatting a <SELECT> box - 11-07-2004 , 06:54 AM






Laphan wrote:

Quote:
Could you please confirm what the syntax is to change the style of a
SELECT> box using CSS.
some selector that will match the select element you want to alter {
property: value;
other property: value;
}

Quote:
I basically want to take the 3D effect off this box, but it doesn't seem
to be possible like it is with an <INPUT> box.
Browser support for styling of select elements is variable, but generally
more limited that text inputs.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Formatting a <SELECT> box - 11-07-2004 , 09:09 AM



David Dorward <dorward (AT) yahoo (DOT) com> wrote:

Quote:
I basically want to take the 3D effect off this box, but it doesn't
seem to be possible like it is with an <INPUT> box.

Browser support for styling of select elements is variable, but
generally more limited that text inputs.
Which is mostly a good thing, since authors so often want to confuse
users by making form fields look like something else than form fields.

_Sensible_ styling, such as
select, input, textarea, button { font-size: 100%; }
(to remove the common browser default of reducing font size in form
fields)
works fairly well on most current browsers.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.