By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,160 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,160 IT Pros & Developers. It's quick & easy.

border-style for <select>

P: n/a
hello,

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

i tried

select {
background-color:#eee;
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?
greetings,
matt
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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).

--
Alexander
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.