File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes change border of list box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "change border of list box" Watch "change border of list box" New topic

change border of list box

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275
Can we change thickness, color and style of border of List box in html?

If yes, please let me know how.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
HAve you played with CSS border? The select element is one element that does not allow too much styling.

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
Hi Grishma,

As Eric said, CSS border doesn't seem to have any effect, at least with IE 6.


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: change border of list box
It's not a secret anymore!