467,114 Members | 1,273 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,114 developers. It's quick & easy.

border-style for <select>


is there any chance to shape borders of a <select>-field?

i tried

select {
border:1px solid red;

but this doesn't work - and even looks different in IE and firefox/mozilla.

is there any chance to style these borders?
Jul 20 '05 #1
  • viewed: 11905
1 Reply
Matthias Wege <mw@rz-online.net> wrote:
is there any chance to shape borders of a <select>-field?

Not really. This may work in some browser or operating systems while it
will definitely fail in other browsers or operation systems.

Many browser are just using controls of the operating system for form
elements like <select>. And depending of the operating system, it may
not be possible to modify borders, colors fonts etc. of such controls
(if you've ever seen the controls or MacOSX, you'll probably understand
why this is so).

It's even possible that a browser is able to modify the borders of some
form elements (like text fields, or <select> when it is rendered as list
box) while it is unable to do this on other elements (like radio bottons
or <select> wehn it is rendered as popup button).

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by tsirman | last post: by
2 posts views Thread by richm | last post: by
9 posts views Thread by Tormod | last post: by
1 post views Thread by Valerie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.