Welcome to WebmasterWorld Guest from 54.160.131.144

Forum Moderators: not2easy

Message Too Old, No Replies

borders of drop-down boxes

Information needed about manipulating borders of drop-down boxes with CSS.

     

sunbomb

9:45 pm on Dec 27, 2001 (gmt 0)

10+ Year Member



Hi everyone,
I am looking to manipulate the borders of a drop-down box the same way one can do a text-input box or even a button. I usually do the latter using style sheets. I have searched but not found a way top do it for drop-down boxes. Any suggestions??

tedster

2:07 am on Dec 28, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome to Webmaster World, sunbomb.

As far as I know, you can't customize the border of a true select box form with CSS. But you can get a similar effect:

1) Create a custom menu
2) Enclose it in a div where you use CSS to declare the exact border you are looking for
3) Add an arrow-like button to show or hide the div (in the place of the drop down "arrow")

Here are some ideas that might help:
custom menu [geocities.com]
show/hide [geocities.com]

sunbomb

2:40 pm on Dec 28, 2001 (gmt 0)

10+ Year Member



Well thanks tedster,
Even though the answer is not what I needed you have given me some new ideas!