开发者

How to display the pulldown button only

开发者 https://www.devze.com 2022-12-12 17:26 出处:网络
I am creating a customize combobox and 开发者_如何学运维want to use the default pulldown button used on <select> element. The combobox is composed of a textbox, a pulldown button and somewhat a

I am creating a customize combobox and 开发者_如何学运维want to use the default pulldown button used on <select> element. The combobox is composed of a textbox, a pulldown button and somewhat a table element containing the list. Everything is working except for displaying dropdown button. Note that I want to refrain from using any background image for the button. I want to use the default dropdown button. How can I make use of the dropdown button?


Maybe you could make a <select> element, then, using positioning in your stylesheet, cover it with the text field. If you position the textfield right, you should show only the pulldown button from your <select>.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号